aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2014-09-22 22:42:56 +0000
committerDaniele Tricoli <eriol@mornie.org>2014-09-22 22:42:56 +0000
commit3419e57bfd45d703aa41f782fee9546499bf2cb8 (patch)
treef33796163e2256a48323bbb116d90747111e6371
parent4724d7ca7e4d98ed76175141d9658a93b211339e (diff)
downloadpython-urllib3-3419e57bfd45d703aa41f782fee9546499bf2cb8.tar
python-urllib3-3419e57bfd45d703aa41f782fee9546499bf2cb8.tar.gz
Refresh debian/patches/01_do-not-use-embedded-python-six.patch
-rw-r--r--debian/changelog4
-rw-r--r--debian/patches/01_do-not-use-embedded-python-six.patch14
2 files changed, 10 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index 7bf2e8f..9b1038c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
python-urllib3 (1.9.1-1) UNRELEASED; urgency=medium
* New upstream release.
+ * debian/patches/01_do-not-use-embedded-python-six.patch
+ - Refresh.
- -- Daniele Tricoli <eriol@mornie.org> Mon, 22 Sep 2014 22:38:53 +0200
+ -- Daniele Tricoli <eriol@mornie.org> Tue, 23 Sep 2014 00:39:43 +0200
python-urllib3 (1.9-1) unstable; urgency=medium
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 0774786..01debc0 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-09-01
+Last-Update: 2014-09-23
--- a/test/test_collections.py
+++ b/test/test_collections.py
@@ -106,15 +106,15 @@ Last-Update: 2014-09-01
__all__ = ['RecentlyUsedContainer', 'HTTPHeaderDict']
--- a/urllib3/connection.py
+++ b/urllib3/connection.py
-@@ -28,7 +28,7 @@
- ConnectTimeoutError,
- )
- from .packages.ssl_match_hostname import match_hostname
+@@ -3,7 +3,7 @@
+ import socket
+ from socket import timeout as SocketTimeout
+ import warnings
-from .packages import six
+import six
- from .util.ssl_ import (
- resolve_cert_reqs,
+ try: # Python 3
+ from http.client import HTTPConnection as _HTTPConnection, HTTPException
--- a/urllib3/util/request.py
+++ b/urllib3/util/request.py
@@ -1,6 +1,6 @@