Fix error in toolshed metadata generator reported by @martenson

This commit is contained in:
Dannon Baker
2015-04-02 08:26:17 -04:00
parent afc807eda2
commit 5914524b9e
+2 -2
View File
@@ -456,8 +456,8 @@ class MetadataGenerator( object ):
try:
exported_workflow_dict = json.loads( workflow_text )
except Exception, e:
log.exception( "Skipping file %s since it does not seem to be a valid exported Galaxy workflow: %s" \
% str( relative_path ), str( e ) )
log.exception( "Skipping file %s since it does not seem to be a valid exported Galaxy workflow: %s"
% (str( relative_path ), str( e ) ) )
valid_exported_galaxy_workflow = False
if valid_exported_galaxy_workflow and \
'a_galaxy_workflow' in exported_workflow_dict and \