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

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