From fc523dda5411b7f3aea3f44d6a548d7110314df8 Mon Sep 17 00:00:00 2001 From: amartin Date: Fri, 02 Nov 2007 21:06:04 +0000 Subject: network --- (limited to 'common/Util/Network.py') diff --git a/common/Util/Network.py b/common/Util/Network.py index 8e20a04..065f8d4 100644 --- a/common/Util/Network.py +++ b/common/Util/Network.py @@ -405,14 +405,14 @@ class Network: if self.mode == MD_PEER: try: self.socket.send( msg ) - #print "Network:: sent %d bytes: %s" % (len(msg),msg) + print "Network:: sent %d bytes: %s" % (len(msg),msg) except socket.error, (value, errmsg): print "Network:: FAILED to send message (%s) to %s: %s" % (MSG_NAME[message], self.hostAddress[0], errmsg) # TODO something intelligent else: # MD_HOST try: to.send( msg ) - #print "Network:: sent %d bytes: %s" % (len(msg),msg) + print "Network:: sent %d bytes: %s" % (len(msg),msg) except socket.error, (value, errmsg): print "Network:: FAILED to send message (%s) to %s: %s" % (MSG_NAME[message], self.connection[to].address[0], errmsg) # TODO something intelligent -- cgit v0.9.1