Hello community,

here is the log from the commit of package python-feedparser for openSUSE:11.4
checked in at Tue May 31 15:55:42 CEST 2011.



--------
--- old-versions/11.4/UPDATES/all/python-feedparser/python-feedparser.changes   
2011-04-20 20:18:08.000000000 +0200
+++ 11.4/python-feedparser/python-feedparser.changes    2011-05-30 
21:08:14.000000000 +0200
@@ -1,0 +2,5 @@
+Mon May 30 19:05:36 UTC 2011 - [email protected]
+
+- Fix bnc#696287 - Latest (patched) python-feedparser introduces a new bug: 
empty feeds
+
+-------------------------------------------------------------------

calling whatdependson for 11.4-i586


New:
----
  feedparser-bnc696287.diff

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

Other differences:
------------------
++++++ python-feedparser.spec ++++++
--- /var/tmp/diff_new_pack.M1SxzT/_old  2011-05-31 15:55:19.000000000 +0200
+++ /var/tmp/diff_new_pack.M1SxzT/_new  2011-05-31 15:55:19.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           python-feedparser
 Version:        4.1
-Release:        9.<RELEASE12>
+Release:        9.<RELEASE14>
 Summary:        Universal Feed Parser Module for Python
 Url:            http://sourceforge.net/projects/feedparser/
 License:        BSD
@@ -31,6 +31,7 @@
 Patch2:         feedparser-issue254-CVE-2011-1157.patch
 Patch3:         feedparser-issue91-CVE-2011-1156.patch
 Patch4:         feedparser-bnc688878.diff
+Patch5:         feedparser-bnc696287.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{py_requires}
 BuildRequires:  python-devel python-setuptools
@@ -54,6 +55,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4
+%patch5
 chmod 0644 README
 
 %build

++++++ feedparser-bnc696287.diff ++++++
Index: feedparser.py
===================================================================
--- feedparser.py.orig
+++ feedparser.py
@@ -1676,9 +1676,6 @@ class _HTMLSanitizer(_BaseHTMLProcessor)
                 if key == u'href':
                     value = _makeSafeAbsoluteURI(value)
                 clean_attrs.append((key,value))
-            elif key=='style':
-                clean_value = self.sanitize_style(value)
-                if clean_value: clean_attrs.append((key,clean_value))
         _BaseHTMLProcessor.unknown_starttag(self, tag, clean_attrs)
         
     def unknown_endtag(self, tag):

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



Remember to have fun...

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

Reply via email to