mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Fix flake8 warning.
This commit is contained in:
parent
77ab83eb0d
commit
c24e51f515
@ -1101,7 +1101,6 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions):
|
||||
'credential', 'source_regions', 'instance_filters', 'group_by', 'overwrite', 'overwrite_vars']
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
new_instance = bool(self.pk)
|
||||
# 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.
|
||||
update_fields = kwargs.get('update_fields', [])
|
||||
|
Loading…
Reference in New Issue
Block a user