Fix exception string interpolation in configure_ipa.py
The exception was being created incorrectly and thus hiding the real exception. Change-Id: I55ee1b0e1673513573da3a5dc8eedd2ad67569de
This commit is contained in:
parent
49fb3031fa
commit
8d8f8a5de2
|
@ -130,7 +130,7 @@ class NovajoinRole(object):
|
|||
conn.do_sasl_gssapi_bind()
|
||||
certs = certstore.get_ca_certs(conn, basedn, realm, False)
|
||||
except Exception as e:
|
||||
raise ConfigurationError("get_ca_certs_from_ldap() error: %s", e)
|
||||
raise ConfigurationError("get_ca_certs_from_ldap() error: %s" % e)
|
||||
|
||||
certs = [x509.load_certificate(c[0], x509.DER) for c in certs
|
||||
if c[2] is not False]
|
||||
|
|
Loading…
Reference in New Issue