]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: fix error formatting 6257/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 12 Feb 2018 13:16:05 +0000 (14:16 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 12 Feb 2018 13:16:05 +0000 (14:16 +0100)
regression-tests.dnsdist/dnsdisttests.py

index 95a7d1374ff22cac043c4406b185776290139549..eaea70b598fa7178fd2d93b88f480e5bedda37e9 100644 (file)
@@ -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