Skip to content

Commit

Permalink
fix(delete_bugs): don't retrieve results twice (#2751)
Browse files Browse the repository at this point in the history
Just realised there's some copy pasta here which is doubling things
unnecessarily
  • Loading branch information
andrewpollock authored Oct 16, 2024
1 parent 946e398 commit 1f9069f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/datafix/delete_bugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ def main() -> None:

result = list(query.fetch())

print(f"Retrieved {len(result)} bugs to examine for deletion")

result = list(query.fetch())

print(f"There are {len(result)} bugs to delete...")

# Chunk the results to delete in acceptibly sized batches for the API.
Expand Down

0 comments on commit 1f9069f

Please sign in to comment.