[Epydoc-commits] SF.net SVN: epydoc: [1269] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-21 11:24:12
|
Revision: 1269 Author: edloper Date: 2006-08-21 04:24:09 -0700 (Mon, 21 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1269&view=rev Log Message: ----------- - Add a check to make sure we don't have an object that's its own container, which would generate an infinite loop. 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-08-21 11:02:13 UTC (rev 1268) +++ trunk/epydoc/src/epydoc/docwriter/html.py 2006-08-21 11:24:09 UTC (rev 1269) @@ -1654,6 +1654,7 @@ # Generate the crumbs for uid's ancestors. while True: container = self.docindex.container(doc) + assert doc != container, 'object is its own container?' if container is None: if doc.canonical_name is UNKNOWN: return ['??']+crumbs This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |