[Epydoc-commits] SF.net SVN: epydoc: [1377] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-09-10 14:29:37
|
Revision: 1377 http://svn.sourceforge.net/epydoc/?rev=1377&view=rev Author: edloper Date: 2006-09-10 07:29:31 -0700 (Sun, 10 Sep 2006) Log Message: ----------- - Fixed bug where base tree generation would fail if the context was UNKNOWN (e.g., if we can't determine what the containing module is.) Modified Paths: -------------- trunk/epydoc/src/epydoc/docwriter/html.py Modified: trunk/epydoc/src/epydoc/docwriter/html.py =================================================================== --- trunk/epydoc/src/epydoc/docwriter/html.py 2006-09-08 20:53:48 UTC (rev 1376) +++ trunk/epydoc/src/epydoc/docwriter/html.py 2006-09-10 14:29:31 UTC (rev 1377) @@ -2498,8 +2498,11 @@ else: return '??' else: - context_name = context.canonical_name - return str(doc.canonical_name.contextualize(context_name)) + if context is UNKNOWN: + return str(doc.canonical_name) + else: + context_name = context.canonical_name + return str(doc.canonical_name.contextualize(context_name)) #//////////////////////////////////////////////////////////// #{ Function Signatures This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |