mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
flake8 fix.
This commit is contained in:
parent
6717d4f3fa
commit
31d06ecdc4
@ -1221,8 +1221,9 @@ class JobAccess(BaseAccess):
|
||||
return True
|
||||
|
||||
def can_change(self, obj, data):
|
||||
return obj.status == 'new' and self.can_read(obj) and\
|
||||
self.can_add(data, validate_license=False)
|
||||
return (obj.status == 'new' and
|
||||
self.can_read(obj) and
|
||||
self.can_add(data, validate_license=False))
|
||||
|
||||
@check_superuser
|
||||
def can_delete(self, obj):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user