aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtesting/core/campaign.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/core/campaign.py b/xtesting/core/campaign.py
index 8419cf3a..60af3f46 100644
--- a/xtesting/core/campaign.py
+++ b/xtesting/core/campaign.py
@@ -162,7 +162,8 @@ class Campaign():
build_tag = env.get('BUILD_TAG')
assert Campaign.dump_db() == Campaign.EX_OK
assert Campaign.dump_artifacts() == Campaign.EX_OK
- with zipfile.ZipFile('{}.zip'.format(build_tag), 'w') as zfile:
+ with zipfile.ZipFile('{}.zip'.format(build_tag),
+ 'w', zipfile.ZIP_DEFLATED) as zfile:
zfile.write("{}.json".format(build_tag))
for root, _, files in os.walk(build_tag):
for filename in files: