diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-01 18:24:28 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-02 17:17:39 +0000 |
commit | d239de86f98e210982ed70d87fff10cc27c52065 (patch) | |
tree | f9c30714545d283065eeac5c15b0046f80449148 | |
parent | fbe475ee1946ea1ee1acd182adfc1a5f2b7934b3 (diff) | |
download | morph-d239de86f98e210982ed70d87fff10cc27c52065.tar.gz |
Remove unused argument from Builder.build and build_single methods
-rwxr-xr-x | morph | 6 | ||||
-rw-r--r-- | morphlib/builder.py | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -151,7 +151,7 @@ class Morph(cliapp.Application): self.msg('Building %s|%s|%s' % (repo, ref, filename)) # build things in this order - builder.build(blobs, order) + builder.build(order) tempdir.remove() @@ -275,11 +275,11 @@ class Morph(cliapp.Application): # build now self.msg('Building %s' % second_blob) - builder.build_single(second_blob, blobs, order) + builder.build_single(second_blob, order) else: # build the blob now self.msg('Building %s' % first_blob) - builder.build_single(first_blob, blobs, order) + builder.build_single(first_blob, order) tempdir.remove() diff --git a/morphlib/builder.py b/morphlib/builder.py index eda8dd7f..19b2239b 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -563,7 +563,7 @@ class Builder(object): # pragma: no cover def indent_less(self): self.indent -= 1 - def build(self, blobs, build_order): + def build(self, build_order): '''Build a list of groups of morphologies. Items in a group can be built in parallel.''' @@ -624,7 +624,7 @@ class Builder(object): # pragma: no cover def all_built(self, builds): return all(os.path.isfile(builds[name]) for name in builds) - def build_single(self, blob, blobs, build_order): + def build_single(self, blob, build_order): self.indent_more() # first pass: create builders for all blobs |