Yet more style fixes

This commit is contained in:
Oliver Walters 2020-10-06 16:43:39 +11:00
parent 77a2b6de8b
commit 88f73443ee

View File

@ -338,9 +338,6 @@ def create_missing_rule_sets(sender, instance, **kwargs):
then we can now use these RuleSet values to update the
group permissions.
"""
created = kwargs.get('created', False)
# To trigger the group permissions update: update_fields should not be None
update_fields = kwargs.get('update_fields', None)
update_group_roles(instance)