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:
parent
b9d12c703a
commit
74c86aa587
@ -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, ))
|
||||
|
Loading…
Reference in New Issue
Block a user