Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications /
tor-browser-build
Commits:
3a9f91cb by Pier Angelo Vendrame at 2026-01-29T10:54:46+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
=====================================
@@ -395,7 +395,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/3a9f91cbda9dc55fe707f5f092be4428d241f490
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/3a9f91cbda9dc55fe707f5f092be4428d241f490
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]