mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
flake8 fixes
This commit is contained in:
@@ -1259,8 +1259,8 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions):
|
||||
if not super(InventoryUpdate, self).can_start:
|
||||
return False
|
||||
|
||||
if (self.source != 'custom'
|
||||
and not (self.credential and self.credential.active)):
|
||||
if (self.source != 'custom' and
|
||||
not (self.credential and self.credential.active)):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user