Change if statement to be more readable
This commit is contained in:
parent
71d52d45ba
commit
84e37b68ee
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ def sync_teams_to_groups(authentication, stale_cutoff):
|
|||
sync_team_tried.add(stale_team_sync.id)
|
||||
|
||||
# Sync the team.
|
||||
if not sync_team(authentication, stale_team_sync):
|
||||
sync_successful = sync_team(authentication, stale_team_sync)
|
||||
if not sync_successful:
|
||||
return
|
||||
|
||||
|
||||
|
|
Reference in a new issue