[Zope-CVS] CVS: Products/Scheduler - Scheduler.py:1.4
Ken Manheimer
klm@zope.com
Wed, 14 Aug 2002 15:25:01 -0400
Update of /cvs-repository/Products/Scheduler
In directory cvs.zope.org:/tmp/cvs-serv17952
Modified Files:
Scheduler.py
Log Message:
The scheduler subscribes itself (in .manage_afterAdd()) to ITimeEvent
and IScheduledEvent, and implements .notify(), so implements
ISubscriber.
=== Products/Scheduler/Scheduler.py 1.3 => 1.4 ===
--- Products/Scheduler/Scheduler.py:1.3 Tue Aug 13 14:11:31 2002
+++ Products/Scheduler/Scheduler.py Wed Aug 14 15:25:00 2002
@@ -22,6 +22,7 @@
from SchedulerPermissions import *
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
from Products.Event.ISubscriptionAware import ISubscriptionAware
+from Products.Event.ISubscriber import ISubscriber
from Persistence import Persistent
from ExtensionClass import Base
import Acquisition
@@ -63,7 +64,7 @@
security.setPermissionDefault(VIEW_SCHEDULE_PERM, ['Manager'])
security.setPermissionDefault(NOTIFY_SCHEDULE_PERM, ['Manager'])
- __implements__ = (IScheduler.IScheduler, ISubscriptionAware)
+ __implements__ = (IScheduler.IScheduler, ISubscriptionAware, ISubscriber)
def __init__(self, id, title='', filter_data='',
event_service='portal_events'):