Update messages

master-3.5 3.5.0_alpha7
parent 02420800cb
commit 387c325e3a

@ -48,8 +48,9 @@ def client_post_cert(client, clVars, show_info=False):
result_sid = _result_sid[1].integer
if os.environ.get("DEBUG"):
print _("The client uses certificate %s (server ID %s)") % (
client.CERT_FILE, result_post_cert[0])
print _("The client uses certificate {certfile} "
"(server ID {cert_id})").format(
certfile=client.CERT_FILE, cert_id=result_post_cert[0])
if result_post_cert[0] == -4:
print _("Certificate not found on the server")
print _("the client uses certificate %s") % client.CERT_FILE

Loading…
Cancel
Save