Commit c2716c10 authored by Ben Cooksley's avatar Ben Cooksley

Correct access to function arguments

parent 01ffc114
......@@ -142,11 +142,12 @@ class Archive(object):
# Now the checksum
packageChecksum = CommonUtils.generateFileChecksum( contentsNeedingMetadata )
# Start preparing the metadata we're going to save alongside the package
metadataForPackage = {}
# If we have extraMetadata for this Package pre-seed the metadata dictionary
# If we have extraMetadata for this Package, then we need to pre-seed the metadata dictionary
if extraMetadata:
metadataForPackage = copy.copy(self.extraMetadata)
metadataForPackage = copy.copy( extraMetadata )
# Update/adds the nessary keys, that we want to exist.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment