1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

examples: Make netbios.py work with Python 3

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Joseph Sutton 2022-05-05 21:06:46 +12:00 committed by Andreas Schneider
parent b9d12c703a
commit 74c86aa587

View File

@ -23,6 +23,6 @@ n = Node()
(reply_from, names, addresses) = n.query_name("GANIEDA", "192.168.4.0", (reply_from, names, addresses) = n.query_name("GANIEDA", "192.168.4.0",
timeout=4) timeout=4)
print "Received reply from %s:" % (reply_from, ) print("Received reply from %s:" % (reply_from, ))
print "Names: %r" % (names, ) print("Names: %r" % (names, ))
print "Addresses: %r" % (addresses, ) print("Addresses: %r" % (addresses, ))