[Epydoc-commits] SF.net SVN: epydoc: [1259] trunk/epydoc/src/epydoc/docintrospecter.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-21 09:28:20
|
Revision: 1259 Author: edloper Date: 2006-08-21 02:28:11 -0700 (Mon, 21 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1259&view=rev Log Message: ----------- Fixed SF bug [ 1475000 ] --show-sourcecode ignored. The .pyc filename was being used as module.filename, and so the html writer was concluding that there wasn't a file to write code from. Modified Paths: -------------- trunk/epydoc/src/epydoc/docintrospecter.py Modified: trunk/epydoc/src/epydoc/docintrospecter.py =================================================================== --- trunk/epydoc/src/epydoc/docintrospecter.py 2006-08-21 09:16:55 UTC (rev 1258) +++ trunk/epydoc/src/epydoc/docintrospecter.py 2006-08-21 09:28:11 UTC (rev 1259) @@ -225,6 +225,8 @@ try: module_doc.filename = unicode(module.__file__) except KeyboardInterrupt: raise except: pass + if module_doc.filename is not UNKNOWN: + module_doc.filename = py_src_filename(module_doc.filename) # 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. |