remove debug prints from IRCBot

This commit is contained in:
jesopo 2019-10-15 16:16:29 +01:00
parent f0a9f00b57
commit b895958f09

View file

@ -359,7 +359,6 @@ class Bot(object):
self._event_queue.put(event_item) self._event_queue.put(event_item)
elif fd in poll_sources: elif fd in poll_sources:
def _trigger(source, fd): def _trigger(source, fd):
print("write _trigger")
return lambda: source.is_writeable(fd) return lambda: source.is_writeable(fd)
self.trigger(_trigger(poll_sources[fd], fd)) self.trigger(_trigger(poll_sources[fd], fd))
@ -389,7 +388,6 @@ class Bot(object):
self._rtriggered = False self._rtriggered = False
elif fd in poll_sources: elif fd in poll_sources:
def _trigger(source, fd): def _trigger(source, fd):
print("read _trigger")
return lambda: source.is_readable(fd) return lambda: source.is_readable(fd)
self.trigger(_trigger(poll_sources[fd], fd)) self.trigger(_trigger(poll_sources[fd], fd))
else: else: