File: 01-use-system-six.diff

package info (click to toggle)
python-urlobject 2.4.0-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 280 kB
  • ctags: 486
  • sloc: python: 1,301; makefile: 135
file content (64 lines) | stat: -rw-r--r-- 1,650 bytes parent folder | download
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
57
58
59
60
61
62
63
64
From: Andrew 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 text_type, string_types, u
+from six import 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.md
+++ b/README.md
@@ -1,7 +1,5 @@
 # URLObject 2
 
-[![Build Status](https://secure.travis-ci.org/zacharyvoase/urlobject.png?branch=master)](http://travis-ci.org/zacharyvoase/urlobject)
-
 `URLObject` is a utility class for manipulating URLs. The latest incarnation of
 this library builds upon the ideas of its predecessor, but aims for a clearer
 API, focusing on proper method names over operator overrides. It's also being
@@ -50,7 +48,7 @@
 
 ### Credits
 
-This library bundles [six][], which is licensed as follows:
+This library uses [six][], which is licensed as follows:
 
   [six]: http://packages.python.org/six/