[Epydoc-commits] SF.net SVN: epydoc: [1483] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-02-13 22:39:39
|
Revision: 1483 http://svn.sourceforge.net/epydoc/?rev=1483&view=rev Author: edloper Date: 2007-02-13 14:39:34 -0800 (Tue, 13 Feb 2007) Log Message: ----------- - Added check in DocIndex._get_module_classes to make sure we don't try to access the canonical name of a value if it doesn't have one yet (since this gets called before we assign canonical names to all APIDocs). Modified Paths: -------------- trunk/epydoc/src/epydoc/apidoc.py Modified: trunk/epydoc/src/epydoc/apidoc.py =================================================================== --- trunk/epydoc/src/epydoc/apidoc.py 2007-02-13 22:23:50 UTC (rev 1482) +++ trunk/epydoc/src/epydoc/apidoc.py 2007-02-13 22:39:34 UTC (rev 1483) @@ -1893,6 +1893,8 @@ val = var.value if val in (None, UNKNOWN) or val.defining_module is not doc: continue + if val.canonical_name in (None, UNKNOWN): + continue name = val.canonical_name[-1] vals = classes.get(name) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |