aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-10-17 07:25:38 -0700
committerBrian Dolbec <dolsen@gentoo.org>2013-10-17 07:25:38 -0700
commite8bd46886261aca42917e0d627a0a49b337b02f5 (patch)
tree8fc1bb00d8d1ecef435de785e93bbdf911bd9da8 /mirrorselect
parentFix py3 compatibilty. (diff)
downloadmirrorselect-e8bd46886261aca42917e0d627a0a49b337b02f5.tar.gz
mirrorselect-e8bd46886261aca42917e0d627a0a49b337b02f5.tar.bz2
mirrorselect-e8bd46886261aca42917e0d627a0a49b337b02f5.zip
Fix bug 483232, incorrect urlparse import for python3.
Diffstat (limited to 'mirrorselect')
-rw-r--r--mirrorselect/selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py
index 9d718fd..230ca15 100644
--- a/mirrorselect/selectors.py
+++ b/mirrorselect/selectors.py
@@ -38,7 +38,7 @@ import hashlib
if int(sys.version[0]) == 3:
import urllib.request, urllib.parse, urllib.error
- url_parse = urllib.parse
+ url_parse = urllib.parse.urlparse
url_open = urllib.request.urlopen
else:
import urllib