summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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(