Fix raising-format-tuple

See: https://pagure.io/freeipa/issue/7758
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Christian Heimes 2018-11-09 11:41:14 +01:00
parent c00dd21106
commit dc2c71bff8

View File

@ -77,7 +77,7 @@ def get_custodia_instance(config, mode):
elif mode == CustodiaModes.FIRST_MASTER:
custodia_peer = None
else:
raise RuntimeError("Unknown custodia mode %s", mode)
raise RuntimeError("Unknown custodia mode %s" % mode)
if custodia_peer is None:
# use ldapi with local dirsrv instance