added urlsplit import for use in api.cursor function
This commit is contained in:
parent
a875f270a8
commit
0b3df413d8
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ except ImportError:
|
||||||
|
|
||||||
if is_py2:
|
if is_py2:
|
||||||
from urllib import urlencode, quote_plus
|
from urllib import urlencode, quote_plus
|
||||||
from urlparse import parse_qsl
|
from urlparse import parse_qsl, urlsplit
|
||||||
|
|
||||||
str = unicode
|
str = unicode
|
||||||
basestring = basestring
|
basestring = basestring
|
||||||
|
|
@ -33,7 +33,7 @@ if is_py2:
|
||||||
|
|
||||||
|
|
||||||
elif is_py3:
|
elif is_py3:
|
||||||
from urllib.parse import urlencode, quote_plus, parse_qsl
|
from urllib.parse import urlencode, quote_plus, parse_qsl, urlsplit
|
||||||
|
|
||||||
str = str
|
str = str
|
||||||
basestring = (str, bytes)
|
basestring = (str, bytes)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue