Apply Python 3 futurize transform lib2to3.fixes.fix_idioms
Refer to #256
This commit is contained in:
parent
d8b2b5a0d8
commit
26eeb9549e
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ def run_mirror():
|
|||
try:
|
||||
# we use an exponential backoff approach when we get 429 (Too Many Requests).
|
||||
sleepInterval = 1
|
||||
while 1:
|
||||
while True:
|
||||
time.sleep(sleepInterval)
|
||||
response = requests.get("https://basecamp.com/%s/api/v1/events.json" % (config.BASECAMP_ACCOUNT_ID),
|
||||
params={'since': since},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue