diff options
Diffstat (limited to 'debian/patches/01_do-not-use-embedded-python-six.patch')
-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' |