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:
Juan Antonio Osorio Robles 2017-02-14 08:49:24 +02:00
parent 49fb3031fa
commit 8d8f8a5de2
1 changed files with 1 additions and 1 deletions

View File

@ -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]