From: Peter van Dijk Date: Mon, 12 Feb 2018 13:16:05 +0000 (+0100) Subject: dnsdist: fix error formatting X-Git-Tag: dnsdist-1.3.0~105^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6257%2Fhead;p=thirdparty%2Fpdns.git dnsdist: fix error formatting --- 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