diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-01-25 18:09:34 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-01-25 18:09:34 +0000 |
commit | e83f5324a18f8a006f8afc0e9afa43ff9479e983 (patch) | |
tree | 5ba7de6b0e1aa48e364f0dd613aed5628da727bd /kbas | |
parent | f0a13c0caa36f3c55f37347ea023489eb439d960 (diff) | |
download | ybd-e83f5324a18f8a006f8afc0e9afa43ff9479e983.tar.gz |
fix untar check, as spotted by locallycompact
Diffstat (limited to 'kbas')
-rwxr-xr-x | kbas/__main__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py index e8b49b0..e7f6c70 100755 --- a/kbas/__main__.py +++ b/kbas/__main__.py @@ -127,6 +127,7 @@ class KeyedBinaryArtifactServer(object): artifact = os.path.join(tmpdir, cache_id) upload.save(artifact) unpackdir = artifact + '.unpacked' + os.makedirs(unpackdir) if call(['tar', 'xf', artifact, '--directory', unpackdir]): app.log(this, 'ERROR: Problem unpacking', artifact) raise |