summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2011-04-05 14:37:43 -0400
committerLuke Macken <lmacken@redhat.com>2011-04-05 14:37:43 -0400
commitaf64a122924c4a6de5ab4f092d7e47ff737663cd (patch)
tree7d6c2ba33ed7228f4e1d907555789ebc421b7494
parent9236d2e0d4314d46463837dde0fa75f7322c5f54 (diff)
downloadpython-feedparser-af64a122924c4a6de5ab4f092d7e47ff737663cd.zip
python-feedparser-af64a122924c4a6de5ab4f092d7e47ff737663cd.tar.gz
python-feedparser-af64a122924c4a6de5ab4f092d7e47ff737663cd.tar.xz
Remove patches
-rw-r--r--democracynow_feedparser_fix.patch11
-rw-r--r--feedparser_utf8_decoding.patch11
2 files changed, 0 insertions, 22 deletions
diff --git a/democracynow_feedparser_fix.patch b/democracynow_feedparser_fix.patch
deleted file mode 100644
index 58c710a..0000000
--- a/democracynow_feedparser_fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- feedparser.py.orig 2007-12-28 00:59:15.000000000 +0100
-+++ feedparser.py 2007-12-28 00:59:46.000000000 +0100
-@@ -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'
diff --git a/feedparser_utf8_decoding.patch b/feedparser_utf8_decoding.patch
deleted file mode 100644
index 44111b9..0000000
--- a/feedparser_utf8_decoding.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- /var/lib/python-support/python2.5/feedparser.py 2008-01-23 20:10:27.000000000 +0100
-+++ feedparser.py 2008-07-28 11:01:38.000000000 +0200
-@@ -1455,7 +1455,7 @@
- # thanks to Kevin Marks for this breathtaking hack to deal with (valid) high-bit attribute values in UTF-8 feeds
- for key, value in attrs:
- if type(value) != type(u''):
-- value = unicode(value, self.encoding)
-+ value = unicode(value, self.encoding, errors='replace')
- uattrs.append((unicode(key, self.encoding), value))
- strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding)
- if tag in self.elements_no_end_tag: