commit 7496d1127d4713b57503ccab583be2397e757591 Author: Cecylia Bocovich cohosh@torproject.org Date: Thu Nov 21 16:19:40 2019 -0500
Make sure script output clearly prints out errors --- scripts/update_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update_files b/scripts/update_files index 7da6836..ab45930 100755 --- a/scripts/update_files +++ b/scripts/update_files @@ -22,12 +22,12 @@ def upload_files(release): for asset in data['downloads'][arch][locale]: url = data['downloads'][arch][locale][asset] filename = url.split('/')[-1] - print("Downloading " + filename) try: subprocess.check_call(["/usr/bin/wget", "--quiet", url]) release.upload_asset(filename) except: print("Error: failed to download "+url) + print("Please upload this file manually.")