diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-06 12:03:58 +0100 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2016-01-06 12:03:58 +0100 |
commit | f160142a930ffed05a3f45150e24df99ee5ab6ce (patch) | |
tree | 8489e88fda6306045fd87b96423f937818703a27 /voctocore | |
parent | 48ca2215164c8e792ef78e578e49b93f0f3ce727 (diff) |
remove comments and superfluous on_loop call
Diffstat (limited to 'voctocore')
-rw-r--r-- | voctocore/lib/controlserver.py | 3 |
1 files changed, 0 insertions, 3 deletions
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: |