]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add future import for print
authorBob Halley <halley@dnspython.org>
Sun, 18 Dec 2016 19:30:46 +0000 (11:30 -0800)
committerBob Halley <halley@dnspython.org>
Sun, 18 Dec 2016 19:30:46 +0000 (11:30 -0800)
examples/receive_notify.py

index 3e9061d8d1b28549664b84e648e7f427850707d5..93c428c4ed6759609ec35e13b3678180041c9488 100644 (file)
@@ -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