diff options
author | 2015-05-12 02:17:30 +0200 | |
---|---|---|
committer | 2015-05-12 03:22:32 +0200 | |
commit | 000426c9d890ba2a71625a7454f9c573f10b9bae (patch) | |
tree | 8fa66da5061b850778f72f84038d9bb8bfa31f2f /locale/pavement.py | |
parent | 'from os' -> 'import os' and so on... (diff) | |
download | pyload-000426c9d890ba2a71625a7454f9c573f10b9bae.tar.xz |
'from time' -> 'import time' and so on...
Diffstat (limited to 'locale/pavement.py')
-rw-r--r-- | locale/pavement.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/pavement.py b/locale/pavement.py index 02aa110b5..2a238a968 100644 --- a/locale/pavement.py +++ b/locale/pavement.py @@ -12,9 +12,9 @@ import os import sys import shutil import re +import urllib from tempfile import mkdtemp -from urllib import urlretrieve from subprocess import call, Popen, PIPE from zipfile import ZipFile @@ -127,7 +127,7 @@ def get_source(options): elif pyload.exists(): pyload.rmtree() - urlretrieve(options.src, "pyload_src.zip") + urllib.urlretrieve(options.src, "pyload_src.zip") zip = ZipFile("pyload_src.zip") zip.extractall() path("pyload_src.zip").remove() |