From 4f724be99dd83c58f8dd0ad63956ca912c7de8c3 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Fri, 9 Aug 2024 15:25:42 -0500 Subject: [PATCH] Remove the unnecessary rename operation on the bundle --- add_to_pydotorg.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/add_to_pydotorg.py b/add_to_pydotorg.py index e1aa9f7..602285f 100755 --- a/add_to_pydotorg.py +++ b/add_to_pydotorg.py @@ -362,11 +362,6 @@ def has_sigstore_signature(filename: str) -> bool: ] ) - # New sigstore CLI makes Sigstore bundles end in '.json' - # but our users expect bundles to be '.sigstore' - if os.path.exists(bundle_file + ".json"): - os.rename(bundle_file + ".json", bundle_file) - run_cmd(["chmod", "644", sig_file]) run_cmd(["chmod", "644", cert_file]) run_cmd(["chmod", "644", bundle_file])