[Zope-CVS] CVS: Products/Scheduler - Scheduler.py:1.18

Tres Seaver tseaver@zope.com
Mon, 9 Jun 2003 12:12:14 -0400


Update of /cvs-repository/Products/Scheduler
In directory cvs.zope.org:/tmp/cvs-serv6695

Modified Files:
	Scheduler.py 
Log Message:
 - Merge zbir_decouple_scheduler_from_event-branch.

=== Products/Scheduler/Scheduler.py 1.17 => 1.18 ===
--- Products/Scheduler/Scheduler.py:1.17	Tue Jun  3 10:50:45 2003
+++ Products/Scheduler/Scheduler.py	Mon Jun  9 12:11:43 2003
@@ -398,9 +398,10 @@
         __name__='manage_addSchedulerForm'
         )
 
-def manage_addScheduler(self, id, title, filter_data, REQUEST=None):
+def manage_addScheduler(self, id, title, filter_data=None, 
+                        event_service='portal_events', REQUEST=None):
     """ """
-    ob = Scheduler(id, title, filter_data)
+    ob = Scheduler(id, title, filter_data, event_service)
     event_service = getattr(self, ob.event_service)
     self._setObject(id, ob)
     if REQUEST is not None: