From 22b426a5ea839488f9e1b2d07a1fb6ee5ae8ffc8 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Sun, 13 Oct 2013 14:21:33 +0200 Subject: [PATCH] Remmoved prints from protocol classes --- syncplay/protocols.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/syncplay/protocols.py b/syncplay/protocols.py index 171a4ef..14d2a18 100644 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -23,19 +23,10 @@ class JSONCommandProtocol(LineReceiver): else: self.dropWithError(getMessage("en", "unknown-command-server-error").format(message[1])) #TODO: log, not drop - def printReceived(self, line): #TODO: remove - #print ">>i", line - pass - - def printSent(self, line): - #print "o<<", line - pass - def lineReceived(self, line): line = line.strip() if not line: return - self.printReceived(line) try: messages = json.loads(line) except: @@ -49,7 +40,6 @@ class JSONCommandProtocol(LineReceiver): def sendMessage(self, dict_): line = json.dumps(dict_) - self.printSent(line) self.sendLine(line) def drop(self):