From 978bfb231f889b8b8ac8ac608d7ba2ea839a50c4 Mon Sep 17 00:00:00 2001 From: Kenneth Giusti Date: Mon, 14 Nov 2016 14:20:14 -0500 Subject: [PATCH] avoid using deprecated call --- pyngus/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyngus/container.py b/pyngus/container.py index 138cd9a..b10d7e6 100644 --- a/pyngus/container.py +++ b/pyngus/container.py @@ -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: