summaryrefslogtreecommitdiffstats
path: root/libunbound/python/examples/ns-lookup.py
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-01-02 17:31:36 +0000
committerdes <des@FreeBSD.org>2015-01-02 17:31:36 +0000
commit63bb89eccfead7fdbe9aaab3df7eeca0ff1fbc02 (patch)
tree7e110cb938b4f1a0c7a7f5bbbfc0a682ab32c4b6 /libunbound/python/examples/ns-lookup.py
parent6979769c22a971f35938b2ca806684fe7214eeb4 (diff)
downloadFreeBSD-src-63bb89eccfead7fdbe9aaab3df7eeca0ff1fbc02.zip
FreeBSD-src-63bb89eccfead7fdbe9aaab3df7eeca0ff1fbc02.tar.gz
import unbound 1.5.0
Diffstat (limited to 'libunbound/python/examples/ns-lookup.py')
-rw-r--r--libunbound/python/examples/ns-lookup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libunbound/python/examples/ns-lookup.py b/libunbound/python/examples/ns-lookup.py
index f9eafb2..bcd51de 100644
--- a/libunbound/python/examples/ns-lookup.py
+++ b/libunbound/python/examples/ns-lookup.py
@@ -40,8 +40,8 @@ ctx.resolvconf("/etc/resolv.conf")
status, result = ctx.resolve("vutbr.cz", unbound.RR_TYPE_NS, unbound.RR_CLASS_IN)
if status == 0 and result.havedata:
- print "Result:"
- print " raw data:", result.data
+ print("Result:")
+ print(" raw data:", result.data)
for k in result.data.domain_list:
- print " host: %s" % k
+ print(" host: %s" % k)
OpenPOWER on IntegriCloud