Author: eallen
Date: 2010-06-24 16:48:55 -0400 (Thu, 24 Jun 2010)
New Revision: 4049
Modified:
mgmt/newdata/cumin/python/cumin/model.py
Log:
Use _qmf_agent_id as key for submission_job_summaries store since the rosemary object will
change every update interval
Modified: mgmt/newdata/cumin/python/cumin/model.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/model.py 2010-06-24 19:18:52 UTC (rev 4048)
+++ mgmt/newdata/cumin/python/cumin/model.py 2010-06-24 20:48:55 UTC (rev 4049)
@@ -93,12 +93,12 @@
try:
try:
- store = self.job_summaries_by_submission[submission]
+ store = self.job_summaries_by_submission[submission._qmf_agent_id]
except KeyError:
store = SubmissionJobSummaryStore(self, submission)
store.start_updates()
- self.job_summaries_by_submission[submission] = store
+ self.job_summaries_by_submission[submission._qmf_agent_id] = store
for i in range(5):
if store.data:
Show replies by date