Commit 57c3f3ee authored by Ben Cooksley's avatar Ben Cooksley

Syntax fix

parent 39e3f7a6
......@@ -227,7 +227,7 @@ class Archive(object):
finalMetadataPath = os.path.join( self.config['server']['archiveDirectory'], self.platform, metadataFilename )
# Because we need to know the contentsSuffix of the file we're publishing, load the metadata for the file...
with open(stagedMetadataPath, 'r', encoding='utf-8') as metadataFile
with open(stagedMetadataPath, 'r', encoding='utf-8') as metadataFile:
metadata = yaml.load( metadataFile )
contentsSuffix = metadata.get('contentsSuffix', self.contentsSuffix)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment