mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 01:28:36 -05:00
Converted except T,e expressions to except T as e
This commit is contained in:
@@ -127,7 +127,7 @@ class ModelAccessPermission(permissions.BasePermission):
|
||||
view.__class__.__name__, obj)
|
||||
try:
|
||||
response = self.check_permissions(request, view, obj)
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
logger.debug('has_permission raised %r', e, exc_info=True)
|
||||
raise
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user