Thomas Hille wrote: > > I made this small patch wich fixes the most critical bug with docutils > 0.6. Some testing resulted in some other possible bugs, investigating this. > > >> --- orig/epydoc/markup/restructuredtext.py 2008-01-28 >> 19:15:33.000000000 +0100 >> +++ local/epydoc/markup/restructuredtext.py 2009-12-21 >> 11:04:03.000000000 +0100 >> @@ -304,8 +304,8 @@ >> # Extract the first sentence. >> for child in node: >> if isinstance(child, docutils.nodes.Text): >> - m = self._SUMMARY_RE.match(child.data) >> - if m: >> + if hasattr(child, 'data'): >> + m = self._SUMMARY_RE.match(child.data)
Indentation is pretty important in Python, and it seems broken here. Emilio
signature.asc
Description: OpenPGP digital signature