summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-28 16:51:15 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-28 16:51:15 +0000
commitb1e7650ef63e1b99b0b10704ad7da35040c458bf (patch)
tree32eea52947e29ecd993dc926afcd3b78e127be65 /morph
parent96b5a454ce80184bd241b0f1885e4c00e68267b2 (diff)
downloadmorph-b1e7650ef63e1b99b0b10704ad7da35040c458bf.tar.gz
Remove further remnants of cmd_build* returning values
Diffstat (limited to 'morph')
-rwxr-xr-xmorph8
1 files changed, 3 insertions, 5 deletions
diff --git a/morph b/morph
index c099f3bf..4ba2d4c5 100755
--- a/morph
+++ b/morph
@@ -130,7 +130,6 @@ class Morph(cliapp.Application):
if not os.path.exists(self.settings['cachedir']):
os.mkdir(self.settings['cachedir'])
- ret = []
for repo, ref, filename in self._itertriplets(args):
tempdir = morphlib.tempdir.Tempdir(self.settings['tempdir'])
morph_loader = MorphologyLoader(self.settings)
@@ -155,7 +154,7 @@ class Morph(cliapp.Application):
self.msg('Building %s|%s|%s' % (repo, ref, filename))
# build things in this order
- ret.append(builder.build(blobs, order))
+ builder.build(blobs, order)
tempdir.remove()
@@ -234,7 +233,6 @@ class Morph(cliapp.Application):
if not os.path.exists(self.settings['cachedir']):
os.mkdir(self.settings['cachedir'])
- ret = []
if len(args) >= 3:
repo, ref, filename = args[:3]
args = args[3:]
@@ -277,11 +275,11 @@ class Morph(cliapp.Application):
# build now
self.msg('Building %s' % second_blob)
- ret.append(builder.build_single(second_blob, blobs, order))
+ builder.build_single(second_blob, blobs, order)
else:
# build the blob now
self.msg('Building %s' % first_blob)
- ret.append(builder.build_single(first_blob, blobs, order))
+ builder.build_single(first_blob, blobs, order)
tempdir.remove()