summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-01 18:24:28 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-02 17:17:39 +0000
commitd239de86f98e210982ed70d87fff10cc27c52065 (patch)
treef9c30714545d283065eeac5c15b0046f80449148
parentfbe475ee1946ea1ee1acd182adfc1a5f2b7934b3 (diff)
downloadmorph-d239de86f98e210982ed70d87fff10cc27c52065.tar.gz
Remove unused argument from Builder.build and build_single methods
-rwxr-xr-xmorph6
-rw-r--r--morphlib/builder.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/morph b/morph
index 14698ede..da85c069 100755
--- a/morph
+++ b/morph
@@ -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