Author: tmckay
Date: 2011-06-13 13:33:07 +0000 (Mon, 13 Jun 2011)
New Revision: 4807
Modified:
trunk/cumin/python/cumin/grid/pool.py
Log:
Additional tweaks related to removal of collector filtering
Modified: trunk/cumin/python/cumin/grid/pool.py
===================================================================
--- trunk/cumin/python/cumin/grid/pool.py 2011-06-09 16:31:16 UTC (rev 4806)
+++ trunk/cumin/python/cumin/grid/pool.py 2011-06-13 13:33:07 UTC (rev 4807)
@@ -119,6 +119,12 @@
collector = self.app.model.find_youngest(self.cls, session.cursor)
if collector:
self.id.set(session, collector._id)
+ id = collector._id
- super(PoolFrame, self).do_process(session)
+ # If we still don't have an id, skip the processing step.
+ # This avoids an assertion error in do_process
+ # When we go to render, we will get the "Missing Pool" banner
+ # from PoolView, so the user will get a nice message
+ if id:
+ super(PoolFrame, self).do_process(session)
Show replies by date