Skip to content
Unverified Commit 563a03d9 authored by Sergio Oliveira Campos's avatar Sergio Oliveira Campos
Browse files

Fixed error msgs on FreeIPABaseModule subclasses

When a fail_json is called a SystemExit exeception is raised.
Since the FreeIPABaseModule has an internal context manager to deal
with exceptions this ContextManager captures the SystemExit. After
dealing destroying the kinit session the SystemExit must be raised again
to allow the fail_json to work properly.
parent da5dc0c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment