mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
Handle 404 in download-translations, fix #143
This commit is contained in:
parent
284ff1fddc
commit
b594c3334d
@ -541,7 +541,10 @@ def post_upgrade(from_ver, to_ver, bench='.'):
|
||||
setup_procfile(bench=bench)
|
||||
|
||||
def update_translations_p(args):
|
||||
update_translations(*args)
|
||||
try:
|
||||
update_translations(*args)
|
||||
except requests.exceptions.HTTPError:
|
||||
print 'Download failed for', args[0], args[1]
|
||||
|
||||
def download_translations_p():
|
||||
pool = multiprocessing.Pool(8)
|
||||
|
Loading…
Reference in New Issue
Block a user