Skip to content

Commit c90046f

Browse files
committed
Merge petertodd#113: Make print statements python 3.x friendly
3e647b7 Update send-addrs-msg.py (Marty Jones)
2 parents c01a032 + 3e647b7 commit c90046f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/send-addrs-msg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ def addr_pkt( str_addrs ):
4343
s.send( version_pkt(client_ip, server_ip).to_bytes() )
4444

4545
# Get Version reply
46-
print s.recv(1924)
46+
print(s.recv(1924))
4747

4848
# Send Verack
4949
s.send( msg_verack().to_bytes() )
5050
# Get Verack
51-
print s.recv(1024)
51+
print(s.recv(1024))
5252

5353
# Send Addrs
5454
s.send( addr_pkt(["252.11.1.2", "EEEE:7777:8888:AAAA::1"]).to_bytes() )

0 commit comments

Comments
 (0)