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

Chris McDonough chrism@zope.com
Mon, 19 May 2003 11:17:45 -0400


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

Modified Files:
	Scheduler.py 
Log Message:
Return the taskid when scheduling.


=== Products/Scheduler/Scheduler.py 1.13 => 1.14 ===
--- Products/Scheduler/Scheduler.py:1.13	Sat May 17 16:20:14 2003
+++ Products/Scheduler/Scheduler.py	Mon May 19 11:17:44 2003
@@ -269,6 +269,7 @@
         l = self.times.get(time, [])
         l.append(taskid)
         self.times[time] = l
+        return taskid
 
     security.declareProtected(CHANGE_SCHEDULE_PERM, 'deschedule')
     def deschedule(self, taskid):