From 050719eed1752b96726f60d03e9be9a54f3a3c40 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Fri, 6 Apr 2007 12:10:46 +0000 Subject: [PATCH] Initialize variable value in sense method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14001 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Alarm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5/Document/Alarm.py b/product/ERP5/Document/Alarm.py index 9ab15e105f..f0c033df70 100644 --- a/product/ERP5/Document/Alarm.py +++ b/product/ERP5/Document/Alarm.py @@ -292,6 +292,7 @@ class Alarm(XMLObject, PeriodicityMixin): This method should respond quickly. Basically the response depends on some previous calculation made by activeSense. """ + value = False method_id = self.getSenseMethodId() process = self.getLastActiveProcess() if process is None: -- 2.30.9