mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
style update to can_start_without_user_input
This commit is contained in:
parent
74beca5b74
commit
7e35925e2d
@ -294,9 +294,9 @@ class JobTemplate(UnifiedJobTemplate, JobOptions, ResourceMixin):
|
||||
Return whether job template can be used to start a new job without
|
||||
requiring any user input.
|
||||
'''
|
||||
return ((not self.resources_needed_to_start) and
|
||||
(not self.passwords_needed_to_start) and
|
||||
(not self.variables_needed_to_start))
|
||||
return (not self.resources_needed_to_start and
|
||||
not self.passwords_needed_to_start and
|
||||
not self.variables_needed_to_start)
|
||||
|
||||
@property
|
||||
def variables_needed_to_start(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user