Fix urlparse for py3.
This commit is contained in:
parent
f37bad0e00
commit
0dda687762
3 changed files with 2 additions and 7 deletions
|
|
@ -3,8 +3,3 @@ try:
|
|||
except ImportError:
|
||||
# python 2.6 or earlier, use backport
|
||||
from ordereddict import OrderedDict # flake8: noqa
|
||||
|
||||
try:
|
||||
from urlparse import urlparse # flake8: noqa
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse # flake8: noqa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue