summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2016-12-18 11:30:46 -0800
committerBob Halley <halley@dnspython.org>2016-12-18 11:30:46 -0800
commita7ac41830ac0472442069deead739ddd4c137be3 (patch)
tree6d17a55ac28f7d2c3bdf1ad6de4edd6a94f3b66b /examples
parent734a6c023c221a29c141e28626b9221ec0a68f68 (diff)
downloaddnspython-a7ac41830ac0472442069deead739ddd4c137be3.tar.gz
add future import for print
Diffstat (limited to 'examples')
-rw-r--r--examples/receive_notify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/receive_notify.py b/examples/receive_notify.py
index 3e9061d..93c428c 100644
--- a/examples/receive_notify.py
+++ b/examples/receive_notify.py
@@ -3,6 +3,8 @@
# This is just a toy, real code would check that the received message
# really was a NOTIFY, and otherwise handle errors.
+from __future__ import print_function
+
import socket
import dns.flags