diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-06-17 07:57:21 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-06-17 07:57:21 +0000 |
commit | 224705368dad53d4ed016abf182a144b0067be93 (patch) | |
tree | 9ed7dfaf7570eeac9227b0a2b68951028a8ade54 /dev-python/webhelpers/files/mime9ad434b.patch | |
parent | Mentioned reporter and bug in ChangeLog. (diff) | |
download | gentoo-2-224705368dad53d4ed016abf182a144b0067be93.tar.gz gentoo-2-224705368dad53d4ed016abf182a144b0067be93.tar.bz2 gentoo-2-224705368dad53d4ed016abf182a144b0067be93.zip |
revbump; migrate -> distutils-r1, add patch to fix test suite, fixes Bug #429290 by flameeyes
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/webhelpers/files/mime9ad434b.patch')
-rw-r--r-- | dev-python/webhelpers/files/mime9ad434b.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/webhelpers/files/mime9ad434b.patch b/dev-python/webhelpers/files/mime9ad434b.patch new file mode 100644 index 000000000000..5e37216f3847 --- /dev/null +++ b/dev-python/webhelpers/files/mime9ad434b.patch @@ -0,0 +1,14 @@ +https://bitbucket.org/bbangert/webhelpers/commits/9ad434bec9a16c06c1cfeed38cde02f00a95685d +diff -ur WebHelpers-1.3.orig/webhelpers/mimehelper.py WebHelpers-1.3/webhelpers/mimehelper.py +--- webhelpers/mimehelper.py 2010-11-18 12:34:33.000000000 +0800 ++++ webhelpers/mimehelper.py 2013-06-17 15:45:40.603257640 +0800 +@@ -110,8 +110,7 @@ + if '.' in last_part: + has_extension = True + if 'HTTP_ACCEPT' in self.env: +- possible_from_accept_header = webob.acceptparse.MIMEAccept('ACCEPT', +- self.env['HTTP_ACCEPT']) ++ possible_from_accept_header = webob.acceptparse.MIMEAccept(self.env['HTTP_ACCEPT']) + if has_extension == False: + if possible_from_accept_header is None: + return self._set_response_content_type(content_type) |