File: 01-use-system-six.diff

package info (click to toggle)
python-urlobject 2.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 284 kB
  • sloc: python: 1,332; makefile: 134
file content (56 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From: Andrej Shadura <andrewsh@debian.org>
Subject: Use system-provided six.

--- a/urlobject/netloc.py
+++ b/urlobject/netloc.py
@@ -1,5 +1,5 @@
 from .compat import urlparse
-from .six import text_type, u
+from six import text_type, u
 
 
 class Netloc(text_type):
--- a/urlobject/path.py
+++ b/urlobject/path.py
@@ -4,7 +4,7 @@
 import urllib
 
 from .compat import urlparse
-from .six import text_type, u
+from six import text_type, u
 
 
 class Root(object):
--- a/urlobject/query_string.py
+++ b/urlobject/query_string.py
@@ -3,7 +3,7 @@
 import urllib
 
 from .compat import urlparse
-from .six import PY2, text_type, string_types, u
+from six import PY2, text_type, string_types, u
 
 
 class QueryString(text_type):
--- a/urlobject/urlobject.py
+++ b/urlobject/urlobject.py
@@ -3,7 +3,7 @@
 from .path import URLPath, path_encode, path_decode
 from .ports import DEFAULT_PORTS
 from .query_string import QueryString
-from .six import text_type, u
+from six import text_type, u
 
 class URLObject(text_type):
 
--- a/README.rst
+++ b/README.rst
@@ -54,7 +54,7 @@
 Credits
 ~~~~~~~
 
-This library bundles `six <http://packages.python.org/six/>`__, which is
+This library uses `six <http://packages.python.org/six/>`__, which is
 licensed as follows:
 
     Copyright (c) 2010-2012 Benjamin Peterson