8000 Merge remote-tracking branch 'upstream/master' · s3coderz/python-for-android@8f04c7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f04c7b

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 02f0a87 + 614ad29 commit 8f04c7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
from urllib.request import FancyURLopener
3636
except ImportError:
3737
from urllib import FancyURLopener
38-
from urlparse import urlparse
38+
try:
39+
from urlparse import urlparse
40+
except ImportError:
41+
from urllib.parse import urlparse
3942

4043
import argparse
4144
from appdirs import user_data_dir

0 commit comments

Comments
 (0)
0