Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09ad22a

Browse files
committed
Missing curl expansion braces.
1 parent f6b3678 commit 09ad22a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_docs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,9 @@ def copy_build_to_webroot(self):
896896
for prefix in prefixes:
897897
to_purge.extend(prefix + p for p in changed)
898898
logging.info("Running CDN purge")
899-
run(["curl", "-XPURGE", f"https://docs.python.org/{','.join(to_purge)}"])
899+
run(
900+
["curl", "-XPURGE", f"https://docs.python.org/{{{','.join(to_purge)}}}"]
901+
)
900902
logging.info(
901903
"Publishing done for version: %s, language: %s",
902904
self.version.name,

0 commit comments

Comments
 (0)