diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-01 15:24:01 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-02 17:13:29 +0000 |
commit | 53185f9ed8936086f03c88797f4d5b89ffa82cc2 (patch) | |
tree | e4f30e99b42c7574623220a1df05412b843cc1c7 /morphlib/builder.py | |
parent | e451f9849d8fc73c2c4103083c3d2f869eb13817 (diff) | |
download | morph-53185f9ed8936086f03c88797f4d5b89ffa82cc2.tar.gz |
Remove unused kwargs usage from prepare_binary_metadata
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index 0132a46e..7734e41f 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -187,7 +187,7 @@ class BlobBuilder(object): # pragma: no cover self.blob.morph.kind, name) - def prepare_binary_metadata(self, blob_name, **kwargs): + def prepare_binary_metadata(self, blob_name): '''Add metadata to a binary about to be built.''' self.msg('Adding metadata to %s' % blob_name) @@ -196,8 +196,6 @@ class BlobBuilder(object): # pragma: no cover 'kind': self.blob.morph.kind, 'description': self.blob.morph.description, } - for key, value in kwargs.iteritems(): - meta[key] = value dirname = os.path.join(self.destdir, 'baserock') if not os.path.exists(dirname): |