From f160142a930ffed05a3f45150e24df99ee5ab6ce Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 6 Jan 2016 12:03:58 +0100 Subject: remove comments and superfluous on_loop call --- voctocore/lib/controlserver.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'voctocore/lib/controlserver.py') diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py index bd263ff..2f25ca6 100644 --- a/voctocore/lib/controlserver.py +++ b/voctocore/lib/controlserver.py @@ -49,7 +49,6 @@ class ControlServer(TCPMultiConnection): self.log.debug("got line: %r", line) line = line.strip() - # TODO: move quit to on_loop # 'quit' = remote wants us to close the connection if line == 'quit': self.log.info("Client asked us to close the Connection") @@ -143,8 +142,6 @@ class ControlServer(TCPMultiConnection): queue.put(message) def on_write(self, conn, *args): - # TODO: on_loop() is not called as soon as there is a writable socket - self.on_loop() self.log.debug('on_write[%u] called', conn.fileno()) try: -- cgit v1.2.3