From 1c19fc77f140e1cc9c55992c2da59b6ff3b45122 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 20 Nov 2022 06:55:22 +0530 Subject: [PATCH] ... --- publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.py b/publish.py index f1e0e5f65..6fceca274 100755 --- a/publish.py +++ b/publish.py @@ -320,7 +320,7 @@ class GitHub(Base): # {{{ time.sleep(sleep_time) if self.is_nightly: - for fname in existing_assets: + for fname in tuple(existing_assets): self.info(f'Deleting {fname} from GitHub with id: {existing_assets[fname]}') delete_asset(existing_assets[fname]) del existing_assets[fname]