mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Removed pirate debugging statement
This commit is contained in:
parent
201e4a9ca3
commit
90424eb4b0
@ -117,7 +117,6 @@ class ModelAccessPermission(permissions.BasePermission):
|
||||
check_method = getattr(self, 'check_%s_permissions' % request.method.lower(), None)
|
||||
result = check_method and check_method(request, view, obj)
|
||||
if not result:
|
||||
print('Yarr permission denied: %s %s %s' % (request.method, repr(view), repr(obj),)) # TODO: XXX: This shouldn't have been committed but anoek is sloppy, remove me after we're done fixing bugs
|
||||
raise PermissionDenied()
|
||||
|
||||
return result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user