From b1e7650ef63e1b99b0b10704ad7da35040c458bf Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 28 Feb 2012 16:51:15 +0000 Subject: Remove further remnants of cmd_build* returning values --- morph | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'morph') 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() -- cgit v1.2.1