Tribler - fixed a print in Connecter.py
authorAdriana Draghici <adriana008@gmail.com>
Fri, 4 Dec 2009 13:19:52 +0000 (13:19 +0000)
committerAdriana Draghici <adriana008@gmail.com>
Fri, 4 Dec 2009 13:19:52 +0000 (13:19 +0000)
tribler-mod/Tribler/Core/BitTornado/BT1/Connecter.py

index f4bf72d..21d2aed 100644 (file)
@@ -258,7 +258,7 @@ class Connection:
                             tobinary(len(piece) + 9), PIECE, 
                             tobinary(index), tobinary(begin), piece.tostring()))
             if DEBUG_NORMAL_MSGS:
-                print >>sys.stderr, 'sending chunk: '+str(index)+': '+str(begin)+'-'+str(begin+len(piece))
+                print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime()),'sending chunk: '+str(index)+': '+str(begin)+'-'+str(begin+len(piece))
 
         if bytes < len(self.partial_message):
             self.connection.send_message_raw(self.partial_message[:bytes])