Skip to content

Commit 825f5f7

Browse files
authored
fix: continuation token bug in status_task_batched (#763)
We're assigning the token to a variable that is never used.
1 parent 74ffa0d commit 825f5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/taskgraph/util/taskcluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ def status_task_batched(task_ids, use_proxy=False):
363363
if (len(statuses) + len(response_tasks)) > len(task_ids):
364364
raise ValueError("more task statuses were returned than were asked for")
365365
statuses.update((t["taskId"], t["status"]) for t in response_tasks)
366-
continuationToken = response_data.get("continuationToken")
367-
if continuationToken is None:
366+
continuation_token = response_data.get("continuationToken")
367+
if continuation_token is None:
368368
break
369369
return statuses
370370

0 commit comments

Comments
 (0)