summaryrefslogtreecommitdiffstats
path: root/locale/pavement.py
diff options
context:
space:
mode:
Diffstat (limited to 'locale/pavement.py')
-rw-r--r--locale/pavement.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/pavement.py b/locale/pavement.py
index 4a9b523be..6bb9fcfcc 100644
--- a/locale/pavement.py
+++ b/locale/pavement.py
@@ -15,8 +15,8 @@ import re
import subprocess
import tempfile
import urllib
+import zipfile
-from zipfile import ZipFile
PROJECT_DIR = path(__file__).dirname()
sys.path.append(PROJECT_DIR)
@@ -128,7 +128,7 @@ def get_source(options):
pyload.rmtree()
urllib.urlretrieve(options.src, "pyload_src.zip")
- zip = ZipFile("pyload_src.zip")
+ zip = zipfile.ZipFile("pyload_src.zip")
zip.extractall()
path("pyload_src.zip").remove()