[Python-modules-commits] r24300 - in packages/python-urllib3/trunk/debian (4 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sat May 11 13:08:03 UTC 2013


    Date: Saturday, May 11, 2013 @ 13:08:01
  Author: eriol-guest
Revision: 24300

Fix syntax error 'unicodeescape' codec can't decode bytes in
position 130-132 for Python3

Added:
  packages/python-urllib3/trunk/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch
Modified:
  packages/python-urllib3/trunk/debian/changelog
  packages/python-urllib3/trunk/debian/patches/04_relax_nosetests_options.patch
  packages/python-urllib3/trunk/debian/patches/series

Modified: packages/python-urllib3/trunk/debian/changelog
===================================================================
--- packages/python-urllib3/trunk/debian/changelog	2013-05-11 12:34:30 UTC (rev 24299)
+++ packages/python-urllib3/trunk/debian/changelog	2013-05-11 13:08:01 UTC (rev 24300)
@@ -22,8 +22,11 @@
     - Do not use logging-clear-handlers to see all logging output and
       disabled cover-min-percentage since it require python-nose (>= 1.3):
       this way it will be easier to backport python-urllib3 to Wheezy.
+  * debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch
+    - Fix syntax error 'unicodeescape' codec can't decode bytes in
+      position 130-132 for Python3
 
- -- Daniele Tricoli <eriol at mornie.org>  Sat, 11 May 2013 14:24:29 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Sat, 11 May 2013 15:05:07 +0200
 
 python-urllib3 (1.5-1) experimental; urgency=low
 

Modified: packages/python-urllib3/trunk/debian/patches/04_relax_nosetests_options.patch
===================================================================
--- packages/python-urllib3/trunk/debian/patches/04_relax_nosetests_options.patch	2013-05-11 12:34:30 UTC (rev 24299)
+++ packages/python-urllib3/trunk/debian/patches/04_relax_nosetests_options.patch	2013-05-11 13:08:01 UTC (rev 24300)
@@ -15,6 +15,6 @@
  cover-package = urllib3
 -cover-min-percentage = 100
 +#cover-min-percentage = 100
-
+ 
  [egg_info]
- tag_build =
+ tag_build = 

Added: packages/python-urllib3/trunk/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch
===================================================================
--- packages/python-urllib3/trunk/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch	                        (rev 0)
+++ packages/python-urllib3/trunk/debian/patches/05_fix_python3_syntax_error_in_ntlmpool.patch	2013-05-11 13:08:01 UTC (rev 24300)
@@ -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)

Modified: packages/python-urllib3/trunk/debian/patches/series
===================================================================
--- packages/python-urllib3/trunk/debian/patches/series	2013-05-11 12:34:30 UTC (rev 24299)
+++ packages/python-urllib3/trunk/debian/patches/series	2013-05-11 13:08:01 UTC (rev 24300)
@@ -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




More information about the Python-modules-commits mailing list