[Zope-CVS] CVS: Products/Scheduler - Scheduler.py:1.23
Chris McDonough
chrism@zope.com
Mon, 7 Jul 2003 17:49:27 -0400
Update of /cvs-repository/Products/Scheduler
In directory cvs.zope.org:/tmp/cvs-serv25604
Modified Files:
Scheduler.py
Log Message:
Catch attributeerror too.
=== Products/Scheduler/Scheduler.py 1.22 => 1.23 ===
--- Products/Scheduler/Scheduler.py:1.22 Mon Jul 7 17:47:33 2003
+++ Products/Scheduler/Scheduler.py Mon Jul 7 17:49:23 2003
@@ -303,7 +303,7 @@
l = self.times.get(time)
try:
l.remove(taskid)
- except (ValueError, IndexError, KeyError):
+ except (ValueError, IndexError, KeyError, AttributeError):
# an inconsistency occurred between the tasks and times
# btrees or the times entry is bogus
LOG('Scheduler (%s)' % self.getId(), ERROR,