From b7ef785eed4fa8f394c5d28bb5aa56b066c38e49 Mon Sep 17 00:00:00 2001 From: amartin Date: Fri, 02 Nov 2007 21:22:26 +0000 Subject: network --- (limited to 'common') diff --git a/common/Util/Network.py b/common/Util/Network.py index 065f8d4..6c3432d 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" % (len(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" % (len(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