summaryrefslogtreecommitdiff
path: root/libunbound/python/examples/reverse-lookup.py
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/python/examples/reverse-lookup.py')
-rw-r--r--libunbound/python/examples/reverse-lookup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunbound/python/examples/reverse-lookup.py b/libunbound/python/examples/reverse-lookup.py
index 4d3e0bb36dff..7e06844ec6a9 100644
--- a/libunbound/python/examples/reverse-lookup.py
+++ b/libunbound/python/examples/reverse-lookup.py
@@ -39,5 +39,5 @@ ctx.resolvconf("/etc/resolv.conf")
status, result = ctx.resolve(unbound.reverse("74.125.43.147") + ".in-addr.arpa.", unbound.RR_TYPE_PTR, unbound.RR_CLASS_IN)
if status == 0 and result.havedata:
- print "Result.data:", result.data, result.data.domain_list
+ print("Result.data:", result.data, result.data.domain_list)