Skip to content

Commit 1b27073

Browse files
Update for Travis check
1 parent cef1266 commit 1b27073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cwltool/process.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ def formatSubclassOf(fmt, cls, ontology, visited):
344344
def checkFormat(actualFile, inputFormats, ontology):
345345
# type: (Union[Dict[Text, Any], List, Text], Union[List[Text], Text], Graph) -> None
346346
for af in aslist(actualFile):
347-
if not af: continue
347+
if not af:
348+
continue
348349
if "format" not in af:
349350
raise validate.ValidationException(u"Missing required 'format' for File %s" % af)
350351
for inpf in aslist(inputFormats):

0 commit comments

Comments
 (0)