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)
summary_pieces.append(docutils.nodes.Text(m.group(1)))
other = child.data[m.end():]
if other and not other.isspace():
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org