diff options
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() |