[Erp5-report] r13229 - /erp5/trunk/products/ERP5/Tool/AlarmTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 6 10:32:58 CET 2007
Author: jerome
Date: Tue Mar 6 10:32:54 2007
New Revision: 13229
URL: http://svn.erp5.org?rev=13229&view=rev
Log:
alarm.activeSense() already activate the active sense method, no need to
activate it.
Modified:
erp5/trunk/products/ERP5/Tool/AlarmTool.py
Modified: erp5/trunk/products/ERP5/Tool/AlarmTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/AlarmTool.py?rev=13229&r1=13228&r2=13229&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/AlarmTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/AlarmTool.py Tue Mar 6 10:32:54 2007
@@ -138,7 +138,7 @@
if alarm.isActive() or not alarm.isEnabled():
# do nothing if already active, or not enabled
continue
- alarm.activate().activeSense()
+ alarm.activeSense()
security.declareProtected(Permissions.ManageProperties, 'isSubscribed')
def isSubscribed(self):
More information about the Erp5-report
mailing list