mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-12 07:48:41 -05:00
flake8 fix.
This commit is contained in:
+3
-2
@@ -1221,8 +1221,9 @@ class JobAccess(BaseAccess):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def can_change(self, obj, data):
|
def can_change(self, obj, data):
|
||||||
return obj.status == 'new' and self.can_read(obj) and\
|
return (obj.status == 'new' and
|
||||||
self.can_add(data, validate_license=False)
|
self.can_read(obj) and
|
||||||
|
self.can_add(data, validate_license=False))
|
||||||
|
|
||||||
@check_superuser
|
@check_superuser
|
||||||
def can_delete(self, obj):
|
def can_delete(self, obj):
|
||||||
|
|||||||
Reference in New Issue
Block a user