diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-26 11:47:27 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-26 12:03:36 +0100 |
commit | 90736608be9f7b3cdce03d2b061e022917e2214e (patch) | |
tree | d7902341f74c20002524cbc539ba76e7a746b1f0 /morphlib | |
parent | 0383116e132d80f8cbe333f275ba2960baefb82b (diff) | |
download | morph-90736608be9f7b3cdce03d2b061e022917e2214e.tar.gz |
Refactor by breaking long expression into two
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/plugins/tarball-systembuilder_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/tarball-systembuilder_plugin.py b/morphlib/plugins/tarball-systembuilder_plugin.py index 1114aaff..8afe6bce 100644 --- a/morphlib/plugins/tarball-systembuilder_plugin.py +++ b/morphlib/plugins/tarball-systembuilder_plugin.py @@ -41,8 +41,8 @@ class RootfsTarballBuilder(SystemKindBuilder): # pragma: no cover with self.build_watch('overall-build'): arch = self.artifact.source.morphology['arch'] - rootfs_artifact = self.new_artifact( - self.artifact.source.morphology['name'] + '-rootfs') + rootfs_name = self.artifact.source.morphology['name'] + '-rootfs' + rootfs_artifact = self.new_artifact(rootfs_name) handle = self.local_artifact_cache.put(rootfs_artifact) try: |