Add a missing exception catcher

This commit is contained in:
rcritten@redhat.com
2007-09-24 15:22:17 -04:00
parent 5cdfc5bd3b
commit 2035297e22
4 changed files with 12 additions and 0 deletions

View File

@@ -81,6 +81,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