Readability.

This commit is contained in:
Jeremy Fincher 2004-04-16 08:17:24 +00:00
parent d8dad26160
commit fdc5612dce

View File

@ -53,7 +53,7 @@ class AsyncoreRunnerDriver(drivers.IrcDriver):
#log.debug(repr(asyncore.socket_map))
try:
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?
time.sleep(timeout)
else: