Fixed bug in sync_role_groups

This commit is contained in:
Sybren A. Stüvel 2016-06-15 14:11:54 +02:00
parent d4bed9543f
commit a17bb969f9

View File

@ -879,6 +879,7 @@ def sync_role_groups(do_revoke_groups):
print('When passing "false", people are only added to groups.') print('When passing "false", people are only added to groups.')
print('when passing "true", people are also removed from groups.') print('when passing "true", people are also removed from groups.')
raise SystemExit() raise SystemExit()
do_revoke_groups = do_revoke_groups == 'true'
service.fetch_role_to_group_id_map() service.fetch_role_to_group_id_map()