From 890bf816a2063ff9b8b0b3c943f9fe8c572130a9 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 29 Aug 2013 10:10:50 +0800 Subject: ... --- server/piztor/server.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/piztor/server.py b/server/piztor/server.py index ae79c76..ab352a0 100644 --- a/server/piztor/server.py +++ b/server/piztor/server.py @@ -103,12 +103,11 @@ class PushTunnel(object): def push(self): print "Pushing via " + str(self) print "Pending size: " + str(len(self.pending)) - print self.conn + logger.info("Pushing...") if (self.conn is None) or len(self.pending) == 0: return front = self.pending.popleft() self.pending.appendleft(front) - print get_hex(front.data) self.conn.transport.write(front.data) def connect(self, conn): @@ -119,7 +118,6 @@ class PushTunnel(object): def on_connection_lost(self, conn): if conn == self.conn: - print "*** clear conn ***" self.conn = None class RequestHandler(object): -- cgit v1.2.3-70-g09d2