remove debug prints from IRCBot
This commit is contained in:
parent
f0a9f00b57
commit
b895958f09
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue