Skip to content

Commit

Permalink
fix: fix error with python range (#261)
Browse files Browse the repository at this point in the history
Signed-off-by: joseph-sentry <[email protected]>
  • Loading branch information
joseph-sentry committed Feb 9, 2024
1 parent 81b8494 commit 632c3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/update_branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def run_async(
chunk_size = 1000
chunks = [
branches_to_update[i : i + chunk_size]
for i in range(len(branches_to_update), chunk_size)
for i in range(0, len(branches_to_update), chunk_size)
]

for chunk in chunks:
Expand Down

0 comments on commit 632c3f0

Please sign in to comment.