Commit 050719ee authored by Romain Courteaud's avatar Romain Courteaud

Initialize variable value in sense method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14001 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9628376b
...@@ -292,6 +292,7 @@ class Alarm(XMLObject, PeriodicityMixin): ...@@ -292,6 +292,7 @@ class Alarm(XMLObject, PeriodicityMixin):
This method should respond quickly. Basically the response depends on some This method should respond quickly. Basically the response depends on some
previous calculation made by activeSense. previous calculation made by activeSense.
""" """
value = False
method_id = self.getSenseMethodId() method_id = self.getSenseMethodId()
process = self.getLastActiveProcess() process = self.getLastActiveProcess()
if process is None: if process is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment