diff options
author | rcritten@redhat.com <rcritten@redhat.com> | 2007-09-24 15:22:17 -0400 |
---|---|---|
committer | rcritten@redhat.com <rcritten@redhat.com> | 2007-09-24 15:22:17 -0400 |
commit | 2035297e225fc94f30a6f9fc2267346e08caa007 (patch) | |
tree | 2169fb73a3a8cfc6aee0d86f0e0976799d5be9de /ipa-admintools/ipa-deluser | |
parent | 5cdfc5bd3b63bd20071b75e3e70ebbc491d51589 (diff) | |
download | freeipa-2035297e225fc94f30a6f9fc2267346e08caa007.tar.gz freeipa-2035297e225fc94f30a6f9fc2267346e08caa007.tar.xz freeipa-2035297e225fc94f30a6f9fc2267346e08caa007.zip |
Add a missing exception catcher
Diffstat (limited to 'ipa-admintools/ipa-deluser')
-rw-r--r-- | ipa-admintools/ipa-deluser | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-deluser b/ipa-admintools/ipa-deluser index bcee2afd9..659c3869e 100644 --- a/ipa-admintools/ipa-deluser +++ b/ipa-admintools/ipa-deluser @@ -63,6 +63,9 @@ def main(): except xmlrpclib.ProtocolError, e: print "Unable to connect to IPA server: %s" % (e.errmsg) return 1 + except ipa.ipaerror.IPAError, e: + print "%s" % (e.message) + return 1 return 0 |