mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove unused variables in exception handling
https://fedorahosted.org/freeipa/ticket/6629 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
@@ -356,10 +356,10 @@ def main():
|
||||
|
||||
try:
|
||||
api.Backend.ldap2.connect()
|
||||
except errors.ACIError as e:
|
||||
except errors.ACIError:
|
||||
sys.exit("Outdated Kerberos credentials. "
|
||||
"Use kdestroy and kinit to update your ticket")
|
||||
except errors.DatabaseError as e:
|
||||
except errors.DatabaseError:
|
||||
sys.exit("Cannot connect to the LDAP database. Please check if IPA "
|
||||
"is running")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user