Fix some bugs on windows

This commit is contained in:
Julien Duponchelle committed 2016-09-27 17:05:03 +02:00
1 parent 3a8ca1071e
commit be5d543f20
5 files changed
+14 -8

No files matched your search

-1
View File
@@ -472,7 +472,6 @@ def _convert_snapshots(topo_dir):
for root, dirs, files in os.walk(snapshot_dir):
for file in files:
myzip.write(os.path.join(root, file), os.path.relpath(os.path.join(root, file), snapshot_dir), compress_type=zipfile.ZIP_DEFLATED)
shutil.copy(snapshot_arc, "/tmp/test.zip")
shutil.rmtree(old_snapshots_dir)