summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2013-05-23 17:00:16 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-05-24 15:53:28 +0100
commit182cae2a1a3e743d031cd35ba3f77b5a280cd63b (patch)
tree181ee798ea2c3039d643f4f803b279d650dbbb31 /morphlib/builder2.py
parent54bc976b363bd34dfd39ba343530b8bc42cb0715 (diff)
downloadmorph-182cae2a1a3e743d031cd35ba3f77b5a280cd63b.tar.gz
Remove excessive debugging messages
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 086b3033..9aefabb6 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -186,7 +186,7 @@ class BuilderBase(object):
json.dump(meta, f, indent=4, sort_keys=True)
f.write('\n')
- def create_metadata(self, artifact_name, contents = []):
+ def create_metadata(self, artifact_name, contents=[]):
'''Create metadata to artifact to allow it to be reproduced later.
The metadata is represented as a dict, which later on will be
@@ -226,7 +226,7 @@ class BuilderBase(object):
os.makedirs(dirname)
return open(filename, mode)
- def write_metadata(self, instdir, artifact_name, contents = []):
+ def write_metadata(self, instdir, artifact_name, contents=[]):
'''Write the metadata for an artifact.
The file will be located under the ``baserock`` directory under
@@ -445,7 +445,6 @@ class ChunkBuilder(BuilderBase):
with self.local_artifact_cache.put(artifact) as f:
contents = morphlib.bins.chunk_contents(destdir, patterns)
- logging.debug('metadata contents: %s' % contents)
self.write_metadata(destdir, artifact_name, contents)
logging.debug('assembling chunk %s' % artifact_name)