summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-03-06 14:35:23 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-03-11 17:41:48 +0000
commit09c932fe906375fea310b78d71399c36e77b8001 (patch)
treeb5bf1d1382a911551ce43c29a57224a6481b6167 /morphlib/bins.py
parent815e3e0241a86686a472e729ed8c3c9f04ead7dc (diff)
downloadmorph-09c932fe906375fea310b78d71399c36e77b8001.tar.gz
Do not compress chunk artifacts upon creation
We already silently, automatically decompress if the artifact is compressed. It is thus safe to turn off compression. Compression saves disk space, but on ARM it takes up a lot extra time, and we have lots of disk space, so for speed, not compressing is a good idea.
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r--morphlib/bins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py
index ba5f713f..0374c117 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -100,7 +100,7 @@ def create_chunk(rootdir, f, regexps, dump_memory_profile=None):
dump_memory_profile('after walking')
include = sorted(include) # get dirs before contents
- tar = tarfile.open(fileobj=f, mode='w:gz')
+ tar = tarfile.open(fileobj=f, mode='w')
for filename in include:
# Normalize mtime for everything.
tarinfo = tar.gettarinfo(filename,