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

Zachery Bir zbir@urbanape.com
Mon, 9 Jun 2003 00:58:12 -0400


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

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

Scheduler.py

    - We pass in the event_service, while maintaining the default
      currently in use

www/addScheduler.zpt

    - Make the event_service mutable on creation.



=== Products/Scheduler/Scheduler.py 1.17 => 1.17.2.1 ===
--- Products/Scheduler/Scheduler.py:1.17	Tue Jun  3 10:50:45 2003
+++ Products/Scheduler/Scheduler.py	Mon Jun  9 00:57:41 2003
@@ -398,7 +398,8 @@
         __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)
     event_service = getattr(self, ob.event_service)