diff options
author | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2017-01-30 21:50:05 +0100 |
---|---|---|
committer | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2017-01-30 21:50:05 +0100 |
commit | bfcde8482401393ea183242f0ddca5bff73afc2c (patch) | |
tree | a638c67c850c2ba952cf419f448034a5e8b18196 /rdflib/parser.py | |
parent | ff4616e6e58e83fae518770f0af2e6ca4922ac42 (diff) | |
download | rdflib-bfcde8482401393ea183242f0ddca5bff73afc2c.tar.gz |
removed most of the six import from py3compat
now six is used throughout.
Diffstat (limited to 'rdflib/parser.py')
-rw-r--r-- | rdflib/parser.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rdflib/parser.py b/rdflib/parser.py index 6e3b6113..d98006e2 100644 --- a/rdflib/parser.py +++ b/rdflib/parser.py @@ -16,15 +16,15 @@ from __future__ import print_function import os import sys -from .py3compat import BytesIO -from .py3compat import string_types -from .py3compat import text_type - -from .py3compat import pathname2url -from .py3compat import Request -from .py3compat import url2pathname -from .py3compat import urljoin -from .py3compat import urlopen +from six import BytesIO +from six import string_types +from six import text_type + +from six.moves.urllib.request import pathname2url +from six.moves.urllib.request import Request +from six.moves.urllib.request import url2pathname +from six.moves.urllib.parse import urljoin +from six.moves.urllib.request import urlopen from xml.sax import xmlreader |