aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/04_relax_nosetests_options.patch4
-rw-r--r--debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch15
-rw-r--r--debian/patches/series5
3 files changed, 20 insertions, 4 deletions
diff --git a/debian/patches/04_relax_nosetests_options.patch b/debian/patches/04_relax_nosetests_options.patch
index 5305efa..29f47c6 100644
--- a/debian/patches/04_relax_nosetests_options.patch
+++ b/debian/patches/04_relax_nosetests_options.patch
@@ -15,6 +15,6 @@ Last-Update: 2013-05-11
cover-package = urllib3
-cover-min-percentage = 100
+#cover-min-percentage = 100
-
+
[egg_info]
- tag_build =
+ tag_build =
diff --git a/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch b/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch
new file mode 100644
index 0000000..7b90098
--- /dev/null
+++ b/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch
@@ -0,0 +1,15 @@
+Origin: https://github.com/shazow/urllib3/issues/177
+Description: Fix syntax error 'unicodeescape' codec can't decode bytes in
+ position 130-132 for Python3
+
+--- a/urllib3/contrib/ntlmpool.py
++++ b/urllib3/contrib/ntlmpool.py
+@@ -33,7 +33,7 @@
+ def __init__(self, user, pw, authurl, *args, **kwargs):
+ """
+ authurl is a random URL on the server that is protected by NTLM.
+- user is the Windows user, probably in the DOMAIN\username format.
++ user is the Windows user, probably in the DOMAIN\\username format.
+ pw is the password for the user.
+ """
+ super(NTLMConnectionPool, self).__init__(*args, **kwargs)
diff --git a/debian/patches/series b/debian/patches/series
index c264be2..a8d0b0b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
-04_relax_nosetests_options.patch
-03_no-setuptools.patch
01_do-not-use-embedded-python-six.patch
02_require-cert-verification.patch
+03_no-setuptools.patch
+04_relax_nosetests_options.patch
+05_fix_python3_syntax_error_in_ntlmpool.patch