Skip to content

Commit 5297cfb

Browse files
committed
anohter loop variable name disambiguation
1 parent 053ee5b commit 5297cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwlupgrader/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def workflow_clean(document: Dict[str, Any]) -> None:
433433
step["scatter"] = source
434434
elif isinstance(step["scatter"], list) and len(step["scatter"]) > 1:
435435
step["scatter"] = []
436-
for index, source in enumerate(step["scatter"]):
437-
with SourceLine(step["scatter"], index, Exception):
436+
for index4, source in enumerate(step["scatter"]):
437+
with SourceLine(step["scatter"], index4, Exception):
438438
if source.startswith(step_id):
439439
source = source[step_id_len:]
440440
step["scatter"].append(source)

0 commit comments

Comments
 (0)