mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 08:57:35 -02:30
Fix flake8 warning.
This commit is contained in:
@@ -1101,7 +1101,6 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions):
|
|||||||
'credential', 'source_regions', 'instance_filters', 'group_by', 'overwrite', 'overwrite_vars']
|
'credential', 'source_regions', 'instance_filters', 'group_by', 'overwrite', 'overwrite_vars']
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
new_instance = bool(self.pk)
|
|
||||||
# If update_fields has been specified, add our field names to it,
|
# If update_fields has been specified, add our field names to it,
|
||||||
# if it hasn't been specified, then we're just doing a normal save.
|
# if it hasn't been specified, then we're just doing a normal save.
|
||||||
update_fields = kwargs.get('update_fields', [])
|
update_fields = kwargs.get('update_fields', [])
|
||||||
|
|||||||
Reference in New Issue
Block a user