Pier Angelo Vendrame pushed to branch maint-15.0 at The Tor Project /
Applications / tor-browser-build
Commits:
0c8bdf13 by Pier Angelo Vendrame at 2026-01-29T10:56:28+01:00
Bug 41708: mkdir out/browser in relprep.py before downloading addons.
Otherwise, the download might fail if that directory does not exist
yet.
- - - - -
1 changed file:
- tools/relprep.py
Changes:
=====================================
tools/relprep.py
=====================================
@@ -396,7 +396,9 @@ class ReleasePreparation:
logger.debug("No need to update the %s extension.", name)
return
input_["URL"] = url
- path = self.base_path / "out/browser" / url.split("/")[-1]
+ path = self.base_path / "out/browser"
+ path.mkdir(parents=True, exist_ok=True)
+ path /= url.split("/")[-1]
# The extension should be small enough to easily fit in memory :)
if not path.exists():
r = requests.get(url)
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0c8bdf133b8cbd813001c80c883b65f493b0661a
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0c8bdf133b8cbd813001c80c883b65f493b0661a
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]