Close zipfile. fixes #1798

This commit is contained in:
Ruud
2013-06-08 16:04:14 +02:00
parent 95d146fea2
commit 750e02f38a
+1
View File
@@ -279,6 +279,7 @@ class SourceUpdater(BaseUpdater):
if download_data.get('type') == 'zip':
zip = zipfile.ZipFile(destination)
zip.extractall(extracted_path)
zip.close()
else:
tar = tarfile.open(destination)
tar.extractall(path = extracted_path)