diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-12 17:06:39 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-12 17:06:39 +0000 |
commit | 9dbb2496767be6af8388168dc211d435b4191bd2 (patch) | |
tree | 45a53d18fe0b97c97a7129ddcf7c6568bbf9c169 /morphlib | |
parent | 410c58c37931f17fd68c1a6fafa192b56ae3e978 (diff) | |
download | morph-9dbb2496767be6af8388168dc211d435b4191bd2.tar.gz |
make a test subcommand that builds and gets the morph, image filename
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/builder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index d1ef7c32..8e3742f4 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -532,13 +532,13 @@ class Builder(object): self.indent_less() self.dump_memory_profile('at end of build method') - return built + return morph, built def build_needed(self, blob): blob.built = [] for repo, ref, morph_name, blob_names in blob.needs_built(): morph_filename = '%s.morph' % morph_name - cached = self.build(repo, ref, morph_filename) + morph, cached = self.build(repo, ref, morph_filename) for blob_name in blob_names: blob.built.append((blob_name, cached[blob_name])) |