Skip to content

Commit 919978f

Browse files
committed
Merge pull request #11 from srus/fix-global-var
Avoid duplicated variable
2 parents 1814937 + 3f0246c commit 919978f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

yithlibraryserver/compat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
long = long
4141

4242
if PY3: # pragma: no cover
43-
from urllib import parse
44-
urlparse = parse
43+
from urllib import parse as urlparse
4544
from urllib.parse import quote as url_quote
4645
from urllib.parse import urlencode as url_encode
4746
else: # pragma: no cover

0 commit comments

Comments
 (0)