From: Joseph Sutton Date: Thu, 5 May 2022 09:06:46 +0000 (+1200) Subject: examples: Make netbios.py work with Python 3 X-Git-Tag: talloc-2.3.4~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74c86aa587d67146cee17a938064ebd5916f3447;p=thirdparty%2Fsamba.git examples: Make netbios.py work with Python 3 Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- diff --git a/python/examples/netbios.py b/python/examples/netbios.py index 7a3a9da828f..740d8e32bb7 100644 --- a/python/examples/netbios.py +++ b/python/examples/netbios.py @@ -23,6 +23,6 @@ n = Node() (reply_from, names, addresses) = n.query_name("GANIEDA", "192.168.4.0", timeout=4) -print "Received reply from %s:" % (reply_from, ) -print "Names: %r" % (names, ) -print "Addresses: %r" % (addresses, ) +print("Received reply from %s:" % (reply_from, )) +print("Names: %r" % (names, )) +print("Addresses: %r" % (addresses, ))