Skip to content
Permalink
Browse files

Fixed import error in makedoc.py

  • Loading branch information...
curiousrohan authored and anandology committed Feb 18, 2017
1 parent 1702bd0 commit 21dccd0ed8690d2e179183f3e5b98a20e0f8f764
Showing with 6 additions and 2 deletions.
  1. +6 −2 tools/makedoc.py
@@ -164,8 +164,12 @@ def main(modules=None):
print '<li><a href="#%(name)s">%(name)s</a></li>' % dict(name=name)
print '</ul>'
for name in modules:
mod = __import__(name, {}, {}, 'x')
recurse_over(mod, name)
try:
mod = __import__(name, {}, {}, 'x')
recurse_over(mod, name)
except ImportError as e:
print >> sys.stderr, "Unable to import module %s (Error: %s)" % (name, e)
pass
print '</div>'

if __name__ == '__main__':

0 comments on commit 21dccd0

Please sign in to comment.
You can’t perform that action at this time.