fix BaseHub.get_timers_count

This commit is contained in:
Denis Bilenko
2009-06-17 12:26:53 +07:00
parent b3bfd6b251
commit af1368269c

View File

@@ -301,5 +301,5 @@ class BaseHub(object):
return self.excs
def get_timers_count(hub):
return max(len(x) for x in [hub.timers, hub.timers_by_greenlet.items(), hub.next_timers])
return max(len(x) for x in [hub.timers, hub.next_timers])