[Erp5-report] r12214 - /erp5/trunk/products/ERP5/Tool/AlarmTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 22 18:35:07 CET 2007
Author: jerome
Date: Mon Jan 22 18:35:06 2007
New Revision: 12214
URL: http://svn.erp5.org?rev=12214&view=rev
Log:
make indentation consistant
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=12214&r1=12213&r2=12214&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/AlarmTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/AlarmTool.py Mon Jan 22 18:35:06 2007
@@ -142,19 +142,18 @@
security.declareProtected(Permissions.ManageProperties, 'isSubscribed')
def isSubscribed(self):
- """
- return True, if we are subscribed to TimerService.
- Otherwise return False.
- """
- service = getTimerService(self)
- if not service:
- LOG('AlarmTool', INFO, 'TimerService not available')
- return False
-
- path = '/'.join(self.getPhysicalPath())
- if path in service.lisSubscriptions():
- return True
+ """ return True, if we are subscribed to TimerService.
+ Otherwise return False.
+ """
+ service = getTimerService(self)
+ if not service:
+ LOG('AlarmTool', INFO, 'TimerService not available')
return False
+
+ path = '/'.join(self.getPhysicalPath())
+ if path in service.lisSubscriptions():
+ return True
+ return False
security.declareProtected(Permissions.ManageProperties, 'subscribe')
def subscribe(self):
More information about the Erp5-report
mailing list