Skip to content

Commit

Permalink
Fixed print.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrill-nt committed Jul 16, 2020
1 parent ef32345 commit 1204683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/grafana.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ def get_members_of_team(team):

def remove_member_from_team(grafana_team, user_login):
if configuration.DRY_RUN:
print("Would have removed user %s from team %s" % (grafana_team, user_login))
print("Would have removed user %s from team %s" % (user_login, grafana_team))
else:
logger.info("Removing user %s from team %s" % (grafana_team, user_login))
logger.info("Removing user %s from team %s" % (user_login, grafana_team))
grafana_api.teams.remove_team_member(get_id_of_team(grafana_team), get_id_by_login(user_login))


Expand Down

0 comments on commit 1204683

Please sign in to comment.