mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05: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:
1 parent
847be3a8a8
commit
e27f6bfdc3
1 file changed
+2
-2
@@ -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