mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
ruff: Fix PLR6104 Use += to perform an augmented assignment directly.
This is a preview rule, not yet enabled by default. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b96feb34f6
commit
1e9b6445a9
@@ -224,7 +224,7 @@ def delete_existing_records(records: list[digitalocean.Record], record_name: str
|
||||
and record.type in ("AAAA", "A")
|
||||
):
|
||||
record.destroy()
|
||||
count = count + 1
|
||||
count += 1
|
||||
if count:
|
||||
print(f"Deleted {count} existing A / AAAA records for {record_name}.zulipdev.org.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user