Try to make mumo compatible to python 2.5 and Ice 3.2 as found on debian lenny

This commit is contained in:
Stefan Hacker
2010-12-27 16:39:48 +01:00
parent b25b446f84
commit 793fb121fe
2 changed files with 17 additions and 5 deletions

View File

@@ -519,7 +519,7 @@ class MumoManager(Worker):
for name in names:
try:
modinst = self.modules[name]
if not modinst.is_alive():
if not modinst.isAlive():
modinst.start()
log.debug("Module '%s' started", name)
else:
@@ -566,7 +566,7 @@ class MumoManager(Worker):
except Queue.Empty: pass
for modinst in stoppedmodules.itervalues():
if modinst.is_alive():
if modinst.isAlive():
modinst.stop()
log.debug("Module '%s' is being stopped", name)
else: