From 05a5b5753087e292df55c3acdcc215519af68ad9 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 12 Feb 2018 14:16:05 +0100 Subject: [PATCH] dnsdist: fix error formatting --- regression-tests.dnsdist/dnsdisttests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests.dnsdist/dnsdisttests.py b/regression-tests.dnsdist/dnsdisttests.py index 95a7d1374f..eaea70b598 100644 --- a/regression-tests.dnsdist/dnsdisttests.py +++ b/regression-tests.dnsdist/dnsdisttests.py @@ -418,7 +418,7 @@ class DNSDistTest(unittest.TestCase): sock.send(ourNonce) theirNonce = sock.recv(len(ourNonce)) if len(theirNonce) != len(ourNonce): - print("Received a nonce of size %, expecting %, console command will not be sent!" % (len(theirNonce), len(ourNonce))) + print("Received a nonce of size %d, expecting %d, console command will not be sent!" % (len(theirNonce), len(ourNonce))) return None halfNonceSize = len(ourNonce) / 2 -- 2.47.2