From e670ed4b3fff99c53a62cfac518f35187f1c4f38 Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Mon, 22 Sep 2014 22:56:51 +0000 Subject: Refresh debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch --- debian/changelog | 5 ++++- debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9b1038c..a905344 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,11 @@ python-urllib3 (1.9.1-1) UNRELEASED; urgency=medium * New upstream release. * debian/patches/01_do-not-use-embedded-python-six.patch - Refresh. + * debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch + - Refresh. + - -- Daniele Tricoli Tue, 23 Sep 2014 00:39:43 +0200 + -- Daniele Tricoli Tue, 23 Sep 2014 00:54:44 +0200 python-urllib3 (1.9-1) unstable; urgency=medium diff --git a/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch b/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch index 17c858d..b58f31d 100644 --- a/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch +++ b/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch @@ -1,7 +1,7 @@ Description: Do not use embedded copy of ssl.match_hostname. Author: Daniele Tricoli Forwarded: not-needed -Last-Update: 2014-09-01 +Last-Update: 2014-09-23 --- a/test/test_connectionpool.py +++ b/test/test_connectionpool.py @@ -16,15 +16,15 @@ Last-Update: 2014-09-01 EmptyPoolError, --- a/urllib3/connection.py +++ b/urllib3/connection.py -@@ -27,7 +27,7 @@ - from .exceptions import ( +@@ -39,7 +39,7 @@ ConnectTimeoutError, + SystemTimeWarning, ) -from .packages.ssl_match_hostname import match_hostname +from ssl import match_hostname - import six from .util.ssl_ import ( + resolve_cert_reqs, --- a/urllib3/connectionpool.py +++ b/urllib3/connectionpool.py @@ -26,7 +26,7 @@ -- cgit v1.2.3