summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-12 14:39:52 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-12 14:39:52 +0000
commitf6dc89dbe10ac0ddb82bf4122344673b4d6ba6e9 (patch)
treefadfaf8c488bbf2123422a0b2d2976bbb5cb8d3e /morphlib/plugins/deploy_plugin.py
parent9d7334dc99f85a21ce5e820162a16242f10f3dec (diff)
parentac4eb19ca9cee87e93368d80114d8c44eb5b8d3c (diff)
downloadmorph-f6dc89dbe10ac0ddb82bf4122344673b4d6ba6e9.tar.gz
Merge branch 'liw/no-artifact-compression'
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index b7d9189a..5bb2d9ec 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -117,8 +117,7 @@ class DeployPlugin(cliapp.Plugin):
f = build_command.lac.get(artifact)
else:
f = build_command.rac.get(artifact)
- ff = gzip.GzipFile(fileobj=f)
- tf = tarfile.TarFile(fileobj=ff)
+ tf = tarfile.open(fileobj=f)
tf.extractall(path=system_tree)
self.app.status(