[Python-modules-commits] r22926 - in packages/python-urllib3/trunk/debian/patches (1 file)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Fri Nov 9 02:21:09 UTC 2012
Date: Friday, November 9, 2012 @ 02:21:08
Author: eriol-guest
Revision: 22926
Refreshed
Modified:
packages/python-urllib3/trunk/debian/patches/01_do-not-use-embedded-python-six.patch
Modified: packages/python-urllib3/trunk/debian/patches/01_do-not-use-embedded-python-six.patch
===================================================================
--- packages/python-urllib3/trunk/debian/patches/01_do-not-use-embedded-python-six.patch 2012-11-09 02:10:26 UTC (rev 22925)
+++ packages/python-urllib3/trunk/debian/patches/01_do-not-use-embedded-python-six.patch 2012-11-09 02:21:08 UTC (rev 22926)
@@ -1,73 +1,73 @@
Description: Do not use embedded copy of python-six.
Author: Daniele Tricoli <eriol at mornie.org>
Forwarded: not-needed
-Last-Update: 2012-04-17
+Last-Update: 2012-11-09
--- a/test/test_collections.py
+++ b/test/test_collections.py
@@ -1,7 +1,7 @@
import unittest
-
+
from urllib3._collections import RecentlyUsedContainer as Container
-from urllib3.packages import six
+import six
xrange = six.moves.xrange
-
-
+
+
--- a/urllib3/connectionpool.py
+++ b/urllib3/connectionpool.py
-@@ -51,7 +51,7 @@
+@@ -52,7 +52,7 @@
)
-
+
from .packages.ssl_match_hostname import match_hostname, CertificateError
-from .packages import six
+import six
-
-
+
+
xrange = six.moves.xrange
--- a/urllib3/filepost.py
+++ b/urllib3/filepost.py
-@@ -14,8 +14,8 @@
-
+@@ -10,8 +10,8 @@
+ from uuid import uuid4
from io import BytesIO
-
+
-from .packages import six
-from .packages.six import b
+import six
+from six import b
-
+
writer = codecs.lookup('utf-8')[3]
-
+
--- a/urllib3/response.py
+++ b/urllib3/response.py
@@ -11,7 +11,7 @@
from io import BytesIO
-
- from .exceptions import HTTPError
+
+ from .exceptions import DecodeError
-from .packages.six import string_types as basestring
+from six import string_types as basestring
-
-
+
+
log = logging.getLogger(__name__)
--- a/urllib3/util.py
+++ b/urllib3/util.py
-@@ -16,7 +16,7 @@
+@@ -18,7 +18,7 @@
except ImportError: # `select` doesn't exist on AppEngine.
select = False
-
+
-from .packages import six
+import six
from .exceptions import LocationParseError
-
-
+
+
--- a/test/test_filepost.py
+++ b/test/test_filepost.py
@@ -1,7 +1,7 @@
import unittest
-
+
from urllib3.filepost import encode_multipart_formdata, iter_fields
-from urllib3.packages.six import b, u
+from six import b, u
-
-
+
+
BOUNDARY = '!! test boundary !!'
More information about the Python-modules-commits
mailing list