Blame SOURCES/epydoc-3.0.1-new-docutils.patch

d6ff77
From b293e11299566005b5d918c735bdf9c0ab5ded6f Mon Sep 17 00:00:00 2001
d6ff77
From: Lubomir Rintel <lkundrak@v3.sk>
d6ff77
Date: Thu, 1 Apr 2010 20:23:12 +0200
d6ff77
Subject: [PATCH] Fix restructuredtext formatting for python-docutils-0.6
d6ff77
d6ff77
---
d6ff77
 epydoc/markup/restructuredtext.py |    4 ++--
d6ff77
 1 files changed, 2 insertions(+), 2 deletions(-)
d6ff77
d6ff77
diff --git a/epydoc/markup/restructuredtext.py b/epydoc/markup/restructuredtext.py
d6ff77
index 8b6ac04..4726cb5 100644
d6ff77
--- a/epydoc/markup/restructuredtext.py
d6ff77
+++ b/epydoc/markup/restructuredtext.py
d6ff77
@@ -304,10 +304,10 @@ class _SummaryExtractor(NodeVisitor):
d6ff77
         # Extract the first sentence.
d6ff77
         for child in node:
d6ff77
             if isinstance(child, docutils.nodes.Text):
d6ff77
-                m = self._SUMMARY_RE.match(child.data)
d6ff77
+                m = self._SUMMARY_RE.match(child)
d6ff77
                 if m:
d6ff77
                     summary_pieces.append(docutils.nodes.Text(m.group(1)))
d6ff77
-                    other = child.data[m.end():]
d6ff77
+                    other = child[m.end():]
d6ff77
                     if other and not other.isspace():
d6ff77
                         self.other_docs = True
d6ff77
                     break
d6ff77
-- 
d6ff77
1.7.0.1
d6ff77