[pypy-svn] r42411 - pypy/dist/pypy/lib/distributed
fijal at codespeak.net
fijal at codespeak.net
Sat Apr 28 21:00:13 CEST 2007
Author: fijal
Date: Sat Apr 28 21:00:12 2007
New Revision: 42411
Modified:
pypy/dist/pypy/lib/distributed/socklayer.py
Log:
Be a bit more informative
Modified: pypy/dist/pypy/lib/distributed/socklayer.py
==============================================================================
--- pypy/dist/pypy/lib/distributed/socklayer.py (original)
+++ pypy/dist/pypy/lib/distributed/socklayer.py Sat Apr 28 21:00:12 2007
@@ -42,8 +42,9 @@
s = socket(AF_INET, SOCK_STREAM)
s.bind(address)
s.listen(1)
- print "Waiting for connection"
+ print "Waiting for connection on %s" % (address,)
conn, addr = s.accept()
+ print "Connected from %s" % (addr,)
return SenderWrapper(conn).send, ReceiverWrapper(conn).receive
More information about the Pypy-commit
mailing list