mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: remove bare except
Bare except should not be used. Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
This commit is contained in:
@@ -1978,7 +1978,7 @@ class RestClient(Backend):
|
||||
def _parse_dogtag_error(body):
|
||||
try:
|
||||
return pki.PKIException.from_json(json.loads(body))
|
||||
except:
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
def __init__(self, api):
|
||||
|
||||
Reference in New Issue
Block a user