From 74e192ba1c9f30f6e5072e5532a2e766b28869b5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 22 Apr 2010 20:05:36 +0200 Subject: [PATCH] Use old API of threading code to be compatible with python 2.5. --- cappie/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cappie/__init__.py b/cappie/__init__.py index 2fea5e0..1cf1e8d 100644 --- a/cappie/__init__.py +++ b/cappie/__init__.py @@ -92,12 +92,12 @@ class Cappie(object): iface.start() while True: - if not self.queue.is_alive(): + if not self.queue.isAlive(): self.log.critical("Queue thread died unexpectedly.") return for iface in self.__interfaces: - if not iface.is_alive(): + if not iface.isAlive(): self.log.critical("Thread died unexpectedly. %s" % iface.dev) return time.sleep(60) -- 2.39.2