mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
9739d0354a
commit
7e8eb53375
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user