avoid using deprecated call

This commit is contained in:
Kenneth Giusti 2016-11-14 14:20:14 -05:00
parent adf54e6788
commit 978bfb231f
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Container(object):
readers.append(c)
if c.has_output > 0:
writers.append(c)
if c.next_tick:
if c.deadline:
heapq.heappush(timer_heap, (c.next_tick, c))
timers = []
while timer_heap: