diff options
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r-- | morphlib/builder2.py | 5 |
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) |