mirror of
https://github.com/ansible/awx.git
synced 2026-05-25 01:27:45 -02:30
flake8
This commit is contained in:
@@ -1254,8 +1254,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