Hello community,

here is the log from the commit of package epydoc for openSUSE:Factory checked 
in at 2011-10-26 15:53:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/epydoc (Old)
 and      /work/SRC/openSUSE:Factory/.epydoc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "epydoc", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/epydoc/epydoc.changes    2011-09-23 
01:56:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.epydoc.new/epydoc.changes       2011-10-26 
16:14:41.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 21 17:17:01 UTC 2011 - [email protected]
+
+- Fix 578920 bug ('Text' object has no attribute 'data')
+  Thanks Götz Waschk
+
+-------------------------------------------------------------------

New:
----
  epydoc_restructuredtext_Bug_578920.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ epydoc.spec ++++++
--- /var/tmp/diff_new_pack.PjVgbS/_old  2011-10-26 16:14:57.000000000 +0200
+++ /var/tmp/diff_new_pack.PjVgbS/_new  2011-10-26 16:14:57.000000000 +0200
@@ -23,6 +23,7 @@
 Version:        3.0.1
 Release:        52
 Source0:        %{name}-%{version}.tar.bz2
+Patch1:         epydoc_restructuredtext_Bug_578920.patch
 License:        BSD 3-clause (or similar)
 Group:          Development/Tools/Doc Generators
 Url:            http://epydoc.sourceforge.net/
@@ -42,6 +43,7 @@
 
 %prep
 %setup
+%patch1 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS" 

++++++ epydoc_restructuredtext_Bug_578920.patch ++++++
diff -p -up epydoc-3.0.1/epydoc/markup/restructuredtext.py.orig 
epydoc-3.0.1/epydoc/markup/restructuredtext.py
--- epydoc-3.0.1/epydoc/markup/restructuredtext.py.orig 2011-02-17 
12:03:39.000000000 +0100
+++ epydoc-3.0.1/epydoc/markup/restructuredtext.py      2011-02-17 
12:05:02.000000000 +0100
@@ -304,10 +304,10 @@ class _SummaryExtractor(NodeVisitor):
         # Extract the first sentence.
         for child in node:
             if isinstance(child, docutils.nodes.Text):
-                m = self._SUMMARY_RE.match(child.data)
+                m = self._SUMMARY_RE.match(child)
                 if m:
                     summary_pieces.append(docutils.nodes.Text(m.group(1)))
-                    other = child.data[m.end():]
+                    other = child[m.end():]
                     if other and not other.isspace():
                         self.other_docs = True
                     break

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to