Improve CDN purge script (GH-25251) (#25254)

(cherry picked from commit e35dd556e1)

Co-authored-by: Steve Dower <steve.dower@python.org>

Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
Miss Islington (bot) 2021-04-25 08:19:32 -07:00 committed by GitHub
parent 9a165399ae
commit 2178afffc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,10 @@ PATHS = [
"python-{}-webinstall.exe".format(m.group(0)), "python-{}-webinstall.exe".format(m.group(0)),
"python-{}-amd64.exe".format(m.group(0)), "python-{}-amd64.exe".format(m.group(0)),
"python-{}-amd64-webinstall.exe".format(m.group(0)), "python-{}-amd64-webinstall.exe".format(m.group(0)),
"python-{}-embed-amd64.zip".format(m.group(0)),
"python-{}-embed-win32.zip".format(m.group(0)),
] + ["win32{}/{}".format(REL, f) for f in FILES] + ["amd64{}/{}".format(REL, f) for f in FILES] ] + ["win32{}/{}".format(REL, f) for f in FILES] + ["amd64{}/{}".format(REL, f) for f in FILES]
PATHS = PATHS + [p + ".asc" for p in PATHS]
print('Purged:') print('Purged:')
for n in PATHS: for n in PATHS: