From 1f9069f2d3eccccb5a070ac4cd03392b744dad34 Mon Sep 17 00:00:00 2001 From: Andrew Pollock Date: Wed, 16 Oct 2024 16:26:55 +1000 Subject: [PATCH] fix(delete_bugs): don't retrieve results twice (#2751) Just realised there's some copy pasta here which is doubling things unnecessarily --- tools/datafix/delete_bugs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/datafix/delete_bugs.py b/tools/datafix/delete_bugs.py index 629b6d13a89..4a9fc221360 100755 --- a/tools/datafix/delete_bugs.py +++ b/tools/datafix/delete_bugs.py @@ -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.