Skip to content
Snippets Groups Projects
Commit ddc79d53 authored by jkerdreu's avatar jkerdreu
Browse files

return new timer

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2176 b32b6428-25c9-4566-ad07-03861ab6144f
parent 34dd729a
Branches
No related tags found
No related merge requests found
......@@ -139,7 +139,6 @@ class Engine(object):
body = {}
body['devTypes'] = devtypes
msg = self.msg_factory.build_msg(dev, [], "request", "isAlive", body)
logger.warning(msg)
self.queue_msg(msg)
def process_alives(self):
......@@ -268,6 +267,7 @@ class Engine(object):
"""
t = Timer(func,period,repeat)
self.timers.append(t)
return t
def remove_timer(self,timer):
self.timers.remove(timer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment