python: Fix print in dns_invalid.py
authorAndreas Schneider <asn@samba.org>
Fri, 17 Aug 2018 10:06:38 +0000 (12:06 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Sat, 18 Aug 2018 13:21:39 +0000 (15:21 +0200)
https://bugzilla.samba.org/show_bug.cgi?id=13580

Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sat Aug 18 15:21:39 CEST 2018 on sn-devel-144

python/samba/tests/dns_invalid.py

index 9f87cd56084cc42b8043d18c9cc8b8822f9f37cd..46611eb57a0f059e2d7789e5e97e99af5634f96c 100644 (file)
@@ -76,7 +76,7 @@ class TestBrokenQueries(DNSTest):
 
         name = "\x10\x11\x05\xa8.%s" % self.get_dns_domain()
         q = self.make_name_question(name, dns.DNS_QTYPE_A, dns.DNS_QCLASS_IN)
-        print "asking for ", q.name
+        print("asking for %s" % (q.name))
         questions.append(q)
 
         self.finish_name_packet(p, questions)