summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-10-27 22:54:20 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-10-27 22:54:20 +0100
commit4e65ef87cf82aca2c7cb865b5bbc332e791027ee (patch)
tree2970366a942249e98798ef779d7213de04be9476
parent2ebe742b6fad534a27deb030c3a5c8440b2ea5c5 (diff)
Use system-provided six.
Gbp-Pq: Name 01-use-system-six.diff
-rw-r--r--README.rst2
-rw-r--r--urlobject/netloc.py2
-rw-r--r--urlobject/path.py2
-rw-r--r--urlobject/query_string.py2
-rw-r--r--urlobject/urlobject.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 1470c23..c3c8e01 100644
--- a/README.rst
+++ b/README.rst
@@ -54,7 +54,7 @@ For more information, please refer to http://unlicense.org/
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
diff --git a/urlobject/netloc.py b/urlobject/netloc.py
index c37c47b..4da6569 100644
--- 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):
diff --git a/urlobject/path.py b/urlobject/path.py
index 3b9af33..a132eda 100644
--- a/urlobject/path.py
+++ b/urlobject/path.py
@@ -4,7 +4,7 @@ import posixpath
import urllib
from .compat import urlparse
-from .six import text_type, u
+from six import text_type, u
class Root(object):
diff --git a/urlobject/query_string.py b/urlobject/query_string.py
index 7ab0b3a..33a87f7 100644
--- a/urlobject/query_string.py
+++ b/urlobject/query_string.py
@@ -3,7 +3,7 @@ import re
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):
diff --git a/urlobject/urlobject.py b/urlobject/urlobject.py
index 73eec52..b774646 100644
--- a/urlobject/urlobject.py
+++ b/urlobject/urlobject.py
@@ -3,7 +3,7 @@ from .netloc import Netloc
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):