Skip to content

Commit 18da237

Browse files
GlassOfWhiskeymr-c
andcommitted
Update cwltool/command_line_tool.py
Co-authored-by: Michael R. Crusoe <1330696+mr-c@users.noreply.github.com>
1 parent 72b37ad commit 18da237

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cwltool/command_line_tool.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,8 +1265,9 @@ def collect_output_ports(
12651265
found = True
12661266
break
12671267
if not found:
1268-
if _logger.isEnabledFor(logging.WARNING):
1269-
_logger.warning(f"DIscarded undeclared `{k}` output from {custom_output}")
1268+
_logger.warning(
1269+
f"Discarded undeclared output named {k!r} from {custom_output}."
1270+
)
12701271
ret.pop(k)
12711272
validate_ex(
12721273
expected_schema,

0 commit comments

Comments
 (0)