[Epydoc-commits] SF.net SVN: epydoc: [1631] trunk/epydoc/src/epydoc/markup/epytext.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-09-24 01:36:58
|
Revision: 1631 http://epydoc.svn.sourceforge.net/epydoc/?rev=1631&view=rev Author: edloper Date: 2007-09-23 18:36:56 -0700 (Sun, 23 Sep 2007) Log Message: ----------- - Fixed bug in parsedEpytextDocstring constructor if the given dom_tree is None. (caused when there's a parse error) Modified Paths: -------------- trunk/epydoc/src/epydoc/markup/epytext.py Modified: trunk/epydoc/src/epydoc/markup/epytext.py =================================================================== --- trunk/epydoc/src/epydoc/markup/epytext.py 2007-09-24 01:01:14 UTC (rev 1630) +++ trunk/epydoc/src/epydoc/markup/epytext.py 2007-09-24 01:36:56 UTC (rev 1631) @@ -1732,7 +1732,7 @@ self._html = self._latex = self._plaintext = None self._terms = None # inline option -- mark top-level children as inline. - if options.get('inline'): + if options.get('inline') and self._tree is not None: for elt in self._tree.children: elt.attribs['inline'] = True This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |