diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2017-02-06 12:25:52 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2017-02-09 14:05:22 +0100 |
commit | e27f6bfdc31b767be9ded411e869716b76f478ce (patch) | |
tree | 9f2d36ef261ce25aee4c2cfaa8e3f31fd979fc62 | |
parent | 847be3a8a85cd58e5a011c0c2bc7e1123eb4a1aa (diff) | |
download | freeipa-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-x | install/tools/ipa-adtrust-install | 4 |
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") |