From f1bed21d1a8d701e6fe09d8e940eb6e536134f52 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Wed, 1 Jul 2015 12:58:28 +0200 Subject: [PATCH] Pulling from transifex: waiting 3 seconds before retrying --- arduino-core/src/processing/app/i18n/python/pull.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arduino-core/src/processing/app/i18n/python/pull.py b/arduino-core/src/processing/app/i18n/python/pull.py index 6d8e5b85d..3c3158bd7 100644 --- a/arduino-core/src/processing/app/i18n/python/pull.py +++ b/arduino-core/src/processing/app/i18n/python/pull.py @@ -5,6 +5,7 @@ from transifex import Transifex import requests import getpass import sys +import time def main(): print 'Use your account to talk with Transifex.' @@ -36,6 +37,7 @@ def pull(trans, lang, fname): return except requests.exceptions.HTTPError, e: print " *** Retrying %s from Transifex...\n" % fname, + time.sleep(3) sys.stdout.flush() if count >= 5: