[Python-modules-commits] r30467 - in packages/feedparser/trunk/debian/patches (1 file)
emillon-guest at users.alioth.debian.org
emillon-guest at users.alioth.debian.org
Tue Sep 2 17:00:21 UTC 2014
Date: Tuesday, September 2, 2014 @ 17:00:20
Author: emillon-guest
Revision: 30467
feedparser: fix last patch
Modified:
packages/feedparser/trunk/debian/patches/python3-auth.patch
Modified: packages/feedparser/trunk/debian/patches/python3-auth.patch
===================================================================
--- packages/feedparser/trunk/debian/patches/python3-auth.patch 2014-09-02 16:47:37 UTC (rev 30466)
+++ packages/feedparser/trunk/debian/patches/python3-auth.patch 2014-09-02 17:00:20 UTC (rev 30467)
@@ -9,7 +9,7 @@
if user_passwd:
url_file_stream_or_string = '%s://%s%s' % (urltype, realhost, rest)
- auth = base64.standard_b64encode(user_passwd).strip()
-+ auth = unicode(base64.standard_b64encode(bytes(user_passwd)).strip())
++ auth = base64.standard_b64encode(user_passwd.encode('ascii')).strip().decode('ascii')
# iri support
if isinstance(url_file_stream_or_string, unicode):
More information about the Python-modules-commits
mailing list