mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Readability.
This commit is contained in:
parent
d8dad26160
commit
fdc5612dce
@ -53,7 +53,7 @@ class AsyncoreRunnerDriver(drivers.IrcDriver):
|
|||||||
#log.debug(repr(asyncore.socket_map))
|
#log.debug(repr(asyncore.socket_map))
|
||||||
try:
|
try:
|
||||||
timeout = conf.supybot.drivers.poll()
|
timeout = conf.supybot.drivers.poll()
|
||||||
if len(asyncore.socket_map.keys()) < 1:
|
if not asyncore.socket_map:
|
||||||
# FIXME: asyncore should take care of this... but it doesn't?
|
# FIXME: asyncore should take care of this... but it doesn't?
|
||||||
time.sleep(timeout)
|
time.sleep(timeout)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user