summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2017-02-06 12:25:52 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2017-02-09 14:05:22 +0100
commite27f6bfdc31b767be9ded411e869716b76f478ce (patch)
tree9f2d36ef261ce25aee4c2cfaa8e3f31fd979fc62
parent847be3a8a85cd58e5a011c0c2bc7e1123eb4a1aa (diff)
downloadfreeipa-e27f6bfdc31b767be9ded411e869716b76f478ce.tar.gz
freeipa-e27f6bfdc31b767be9ded411e869716b76f478ce.tar.xz
freeipa-e27f6bfdc31b767be9ded411e869716b76f478ce.zip
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>
-rwxr-xr-xinstall/tools/ipa-adtrust-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index b76efb764..79ed32fbd 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -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")