Change if statement to be more readable

This commit is contained in:
Joseph Schorr 2017-03-07 17:39:01 -05:00
parent 71d52d45ba
commit 84e37b68ee

View file

@ -27,7 +27,8 @@ def sync_teams_to_groups(authentication, stale_cutoff):
sync_team_tried.add(stale_team_sync.id) sync_team_tried.add(stale_team_sync.id)
# Sync the team. # Sync the team.
if not sync_team(authentication, stale_team_sync): sync_successful = sync_team(authentication, stale_team_sync)
if not sync_successful:
return return