[Erp5-report] r20250 - /erp5/trunk/products/ERP5/Document/Alarm.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 1 13:44:19 CEST 2008


Author: aurel
Date: Tue Apr  1 13:44:17 2008
New Revision: 20250

URL: http://svn.erp5.org?rev=20250&view=rev
Log:
add a datetime on alarm's tag thus notify only refer to one alarm

Modified:
    erp5/trunk/products/ERP5/Document/Alarm.py

Modified: erp5/trunk/products/ERP5/Document/Alarm.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Alarm.py?rev=20250&r1=20249&r2=20250&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Alarm.py (original)
+++ erp5/trunk/products/ERP5/Document/Alarm.py Tue Apr  1 13:44:17 2008
@@ -305,7 +305,7 @@
       # able to notify the user after all processes are ended
       # We do some inspection to keep compatibility
       # (because fixit and tag were not set previously)
-      tag='Alarm_activeSense_%s' % self.getId()
+      tag='Alarm_activeSense_%s_%s' % (self.getId(), DateTime())
       kw = {}
       method = getattr(self, method_id)
       name_list = method.func_code.co_varnames




More information about the Erp5-report mailing list