use ipautil.CalledProcessError instead of CalledProcessError

This commit is contained in:
Rich Megginson 2008-11-04 16:33:43 -07:00 committed by Rob Crittenden
parent 5f6f20ffaa
commit 4ed44a06a1

View File

@ -469,8 +469,8 @@ class DsInstance(service.Service):
status = True status = True
try: try:
certdb.load_cacert(cacert_fname) certdb.load_cacert(cacert_fname)
except CalledProcessError, e: except ipalib.CalledProcessError, e:
logging.critical("Error importaing CA cert file named [%s]: %s" % logging.critical("Error importing CA cert file named [%s]: %s" %
(cacert_fname, str(e))) (cacert_fname, str(e)))
status = False status = False
# restart the directory server # restart the directory server