Franck Pommereau

handle parse errors in apidoc, one fixed

......@@ -270,7 +270,11 @@ class DocExtract (object) :
path = os.path.join(dirpath, name)
if not self.openout(path) :
continue
try :
node = parse(open(path).read())
except :
err("error parsing %r" % path)
continue
if ".plugins." in self.module :
self.visit_plugin(node)
else :
......
......@@ -203,4 +203,4 @@ if __name__ == '__main__':
httpd = HTTPServer(('', 1234), HelloNode(r=DirNode(".")))
httpd.serve_forever()
except KeyboardInterrupt :
print "\rGoobye"
print("\rGoobye")
......