diff options
author | Daniele Tricoli <eriol@mornie.org> | 2014-05-24 14:25:34 +0000 |
---|---|---|
committer | Daniele Tricoli <eriol@mornie.org> | 2014-05-24 14:25:34 +0000 |
commit | 2dbb15409aa65fdd002d9ea105b0065882bc9309 (patch) | |
tree | 050308a03eb8d39cb558f5fdd0ae8debbf793a58 /debian/patches | |
parent | c0b4f11174df5009b8c0cc9268ed2b2bc7796e1f (diff) | |
download | python-urllib3-2dbb15409aa65fdd002d9ea105b0065882bc9309.tar python-urllib3-2dbb15409aa65fdd002d9ea105b0065882bc9309.tar.gz |
Refreshed 01_do-not-use-embedded-python-six.patch
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/01_do-not-use-embedded-python-six.patch | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/debian/patches/01_do-not-use-embedded-python-six.patch b/debian/patches/01_do-not-use-embedded-python-six.patch index 95d6de1..f95a1e1 100644 --- a/debian/patches/01_do-not-use-embedded-python-six.patch +++ b/debian/patches/01_do-not-use-embedded-python-six.patch @@ -1,7 +1,7 @@ Description: Do not use embedded copy of python-six. Author: Daniele Tricoli <eriol@mornie.org> Forwarded: not-needed -Last-Update: 2014-03-31 +Last-Update: 2014-05-24 --- a/test/test_collections.py +++ b/test/test_collections.py @@ -16,7 +16,7 @@ Last-Update: 2014-03-31 --- a/urllib3/connectionpool.py +++ b/urllib3/connectionpool.py -@@ -30,7 +30,7 @@ +@@ -32,7 +32,7 @@ ProxyError, ) from .packages.ssl_match_hostname import CertificateError @@ -49,17 +49,6 @@ Last-Update: 2014-03-31 from .util import is_fp_closed ---- a/urllib3/util.py -+++ b/urllib3/util.py -@@ -32,7 +32,7 @@ - except ImportError: - pass - --from .packages import six -+import six - from .exceptions import LocationParseError, SSLError, TimeoutStateError - - --- a/test/test_filepost.py +++ b/test/test_filepost.py @@ -2,7 +2,7 @@ @@ -73,7 +62,7 @@ Last-Update: 2014-03-31 BOUNDARY = '!! test boundary !!' --- a/dummyserver/handlers.py +++ b/dummyserver/handlers.py -@@ -186,7 +186,7 @@ +@@ -190,7 +190,7 @@ """ import tornado.httputil import email.utils @@ -126,3 +115,13 @@ Last-Update: 2014-03-31 from .util import ( assert_fingerprint, resolve_cert_reqs, +--- a/urllib3/util/request.py ++++ b/urllib3/util/request.py +@@ -1,6 +1,6 @@ + from base64 import b64encode + +-from ..packages import six ++import six + + + ACCEPT_ENCODING = 'gzip,deflate' |