Py3: Fix undefined variable
Variable 'e' has only local scope in except block in Py3 https://fedorahosted.org/freeipa/ticket/4985 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
9739d0354a
commit
7e8eb53375
1 file changed
+1
-1
@@ -404,7 +404,7 @@ class WSGIExecutioner(Executioner):
|
||||
type(self).__name__,
|
||||
principal,
|
||||
name,
|
||||
type(e).__name__)
|
||||
type(error).__name__)
|
||||
|
||||
version = options.get('version', VERSION_WITHOUT_CAPABILITIES)
|
||||
return self.marshal(result, error, _id, version)
|
||||
|
||||
Reference in new issue
Block a user