Hello community,

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

Package is "epydoc", Maintainer is "jmate...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:12.1/epydoc/epydoc.changes       2011-10-24 
12:37:43.000000000 +0200
+++ /work/SRC/openSUSE:12.1/.epydoc.new/epydoc.changes  2011-10-28 
15:37:14.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 21 17:17:01 UTC 2011 - eug...@nobilis.org.ru
+
+- 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.1b6OqM/_old  2011-10-28 15:37:14.000000000 +0200
+++ /var/tmp/diff_new_pack.1b6OqM/_new  2011-10-28 15:37:14.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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to