diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-03-07 10:59:35 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-03-11 17:41:47 +0000 |
commit | 815e3e0241a86686a472e729ed8c3c9f04ead7dc (patch) | |
tree | 9c89eeac7d324272b1b3a028520a5af4ae835f81 | |
parent | 63855bc7f8314b216c8842a03b0dfb3a84f1c770 (diff) | |
download | morph-815e3e0241a86686a472e729ed8c3c9f04ead7dc.tar.gz |
Fix deploy to not assume artifacts are compressed
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index f9a345ff..c595cf87 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( |