aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-10-14 20:50:09 -0700
committerBrian Dolbec <dolsen@gentoo.org>2013-10-14 20:50:09 -0700
commit15514cb04216b9fc259e905f453799bd8efa8483 (patch)
tree1c50aef422734146749c0d2d4ef0ec150dd246a7 /mirrorselect
parentAdd country and region filtering in the xml parsing. (diff)
downloadmirrorselect-15514cb04216b9fc259e905f453799bd8efa8483.tar.gz
mirrorselect-15514cb04216b9fc259e905f453799bd8efa8483.tar.bz2
mirrorselect-15514cb04216b9fc259e905f453799bd8efa8483.zip
fix missed import.
Diffstat (limited to 'mirrorselect')
-rw-r--r--mirrorselect/mirrorparser3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrorselect/mirrorparser3.py b/mirrorselect/mirrorparser3.py
index 976ff17..6a11855 100644
--- a/mirrorselect/mirrorparser3.py
+++ b/mirrorselect/mirrorparser3.py
@@ -84,6 +84,7 @@ class MirrorParser3:
return [url for url, args in list(self._dict.items())]
if __name__ == '__main__':
+ import sys
if int(sys.version[0]) == 3:
import urllib.request, urllib.parse, urllib.error
parser = MirrorParser3()