diff options
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index e078fcbe..1bcf5463 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -17,15 +17,7 @@ import os | |||
17 | import platform | 17 | import platform |
18 | import re | 18 | import re |
19 | import sys | 19 | import sys |
20 | 20 | import urllib.parse | |
21 | from pyversion import is_python3 | ||
22 | if is_python3(): | ||
23 | import urllib.parse | ||
24 | else: | ||
25 | import imp | ||
26 | import urlparse | ||
27 | urllib = imp.new_module('urllib') | ||
28 | urllib.parse = urlparse | ||
29 | 21 | ||
30 | from color import Coloring | 22 | from color import Coloring |
31 | from command import InteractiveCommand, MirrorSafeCommand | 23 | from command import InteractiveCommand, MirrorSafeCommand |