From 88f73443ee6922980356adc15e28aa6df55875b4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 6 Oct 2020 16:43:39 +1100 Subject: [PATCH] Yet more style fixes --- InvenTree/users/models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/InvenTree/users/models.py b/InvenTree/users/models.py index 6513e979aa..fcf137bb01 100644 --- a/InvenTree/users/models.py +++ b/InvenTree/users/models.py @@ -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)