Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util
diff options
context:
space:
mode:
authoramartin <olpc@xo-00-CE-12.localdomain>2007-11-02 21:06:04 (GMT)
committer amartin <olpc@xo-00-CE-12.localdomain>2007-11-02 21:06:04 (GMT)
commitfc523dda5411b7f3aea3f44d6a548d7110314df8 (patch)
tree65cbf1e296660d2b689205c6555cea5811033836 /common/Util
parentc21bb8ba6f255303fd49242e63df5f87afe5848b (diff)
network
Diffstat (limited to 'common/Util')
-rw-r--r--common/Util/Network.py4
1 files changed, 2 insertions, 2 deletions
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