[Python-modules-commits] r4084 - in packages/feedparser/trunk/debian (3 files)

cgalisteo-guest at users.alioth.debian.org cgalisteo-guest at users.alioth.debian.org
Wed Jan 2 10:13:35 UTC 2008


    Date: Wednesday, January 2, 2008 @ 10:13:34
  Author: cgalisteo-guest
Revision: 4084

democracynow patch added.

Added:
  packages/feedparser/trunk/debian/patches/democracynow_feedparser_fix.patch
Modified:
  packages/feedparser/trunk/debian/changelog
  packages/feedparser/trunk/debian/patches/series

Modified: packages/feedparser/trunk/debian/changelog
===================================================================
--- packages/feedparser/trunk/debian/changelog	2008-01-01 22:04:35 UTC (rev 4083)
+++ packages/feedparser/trunk/debian/changelog	2008-01-02 10:13:34 UTC (rev 4084)
@@ -1,3 +1,11 @@
+feedparser (4.1-11) unstable; urgency=low
+
+  * New patch fixes errors parsing democracynow.org (and probably
+    some others) feeds. Thanks to Thomas Perl for the patch and for the
+    notice. Ubuntu bug #179208.
+
+ -- Carlos Galisteo <cgalisteo at k-rolus.net>  Wed, 02 Jan 2008 09:50:02 +0000
+
 feedparser (4.1-10) UNRELEASED; urgency=low
 
   * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)

Added: packages/feedparser/trunk/debian/patches/democracynow_feedparser_fix.patch
===================================================================
--- packages/feedparser/trunk/debian/patches/democracynow_feedparser_fix.patch	                        (rev 0)
+++ packages/feedparser/trunk/debian/patches/democracynow_feedparser_fix.patch	2008-01-02 10:13:34 UTC (rev 4084)
@@ -0,0 +1,11 @@
+--- trunk.orig/feedparser.py
++++ trunk/feedparser.py
+@@ -563,7 +563,7 @@
+ 
+     def mapContentType(self, contentType):
+         contentType = contentType.lower()
+-        if contentType == 'text':
++        if contentType == 'text' or contentType == 'plain':
+             contentType = 'text/plain'
+         elif contentType == 'html':
+             contentType = 'text/html'

Modified: packages/feedparser/trunk/debian/patches/series
===================================================================
--- packages/feedparser/trunk/debian/patches/series	2008-01-01 22:04:35 UTC (rev 4083)
+++ packages/feedparser/trunk/debian/patches/series	2008-01-02 10:13:34 UTC (rev 4084)
@@ -1,3 +1,4 @@
+democracynow_feedparser_fix.patch
 auth_handlers_not_working.patch
 doc_css_path.diff
 add-etag-only-if-etag-header-present.patch




More information about the Python-modules-commits mailing list