[Epydoc-commits] SF.net SVN: epydoc: [1270] trunk/epydoc/src/epydoc/docintrospecter.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-21 11:34:20
|
Revision: 1270 Author: edloper Date: 2006-08-21 04:34:12 -0700 (Mon, 21 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1270&view=rev Log Message: ----------- - Fixed bug in introspect_module from recent checkin -- catch and ignore ValueError's from py_src_filename when trying to find the src filename of a module. Modified Paths: -------------- trunk/epydoc/src/epydoc/docintrospecter.py Modified: trunk/epydoc/src/epydoc/docintrospecter.py =================================================================== --- trunk/epydoc/src/epydoc/docintrospecter.py 2006-08-21 11:24:09 UTC (rev 1269) +++ trunk/epydoc/src/epydoc/docintrospecter.py 2006-08-21 11:34:12 UTC (rev 1270) @@ -226,7 +226,8 @@ except KeyboardInterrupt: raise except: pass if module_doc.filename is not UNKNOWN: - module_doc.filename = py_src_filename(module_doc.filename) + try: module_doc.filename = py_src_filename(module_doc.filename) + except ValueError: pass # If this is just a preliminary introspection, then don't do # anything else. (Typically this is true if this module was This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |