Skip to content

Commit

Permalink
Merge pull request #57 from pelson/moving_ahead
Browse files Browse the repository at this point in the history
BUG: Messed up the scope of variables for TravisCI registration.
  • Loading branch information
pelson committed Feb 9, 2016
2 parents d5b0d84 + 7440ef8 commit e6c3bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_smithy/ci_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def add_project_to_travis(user, project):
if not found:
if count == 1:
print(" * Travis doesn't know about the repo, synching (takes a few seconds).")
url = '{}/users/sync'.format(endpoint)
response = requests.post(url, headers=headers)
synch_url = '{}/users/sync'.format(endpoint)
response = requests.post(synch_url, headers=headers)
time.sleep(3)

if count > 5:
Expand Down

0 comments on commit e6c3bda

Please sign in to comment.