Skip to content

Commit f1bed21

Browse files
author
Federico Fissore
committed
Pulling from transifex: waiting 3 seconds before retrying
1 parent 8e2c3c7 commit f1bed21

File tree

1 file changed

+2
-0
lines changed
  • arduino-core/src/processing/app/i18n/python

1 file changed

+2
-0
lines changed

arduino-core/src/processing/app/i18n/python/pull.py

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import requests
66
import getpass
77
import sys
8+
import time
89

910
def main():
1011
print 'Use your account to talk with Transifex.'
@@ -36,6 +37,7 @@ def pull(trans, lang, fname):
3637
return
3738
except requests.exceptions.HTTPError, e:
3839
print " *** Retrying %s from Transifex...\n" % fname,
40+
time.sleep(3)
3941
sys.stdout.flush()
4042

4143
if count >= 5:

0 commit comments

Comments
 (0)