Author: eallen
Date: 2010-07-22 11:03:47 -0400 (Thu, 22 Jul 2010)
New Revision: 4143
Modified:
mgmt/newdata/cumin/python/cumin/grid/job.py
Log:
Fix bz 616957: Don't display job ads that start with !!
Modified: mgmt/newdata/cumin/python/cumin/grid/job.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/job.py 2010-07-22 14:50:59 UTC (rev 4142)
+++ mgmt/newdata/cumin/python/cumin/grid/job.py 2010-07-22 15:03:47 UTC (rev 4143)
@@ -312,7 +312,8 @@
action = QmfCall(self.app, {'JobAd': {}})
ads = action.execute(job_server, "GetJobAd",
job_id).data['JobAd']
cls = self.app.model.job_meta_data
- ad_list = [self.gen_item(x, ads[x], cls, dtype=self.get_type(ads[x])) for x
in ads]
+ ad_list = [self.gen_item(x, ads[x], cls, dtype=self.get_type(ads[x])) \
+ for x in ads if not x.startswith("!!")]
self.items.set(session, ad_list)
Show replies by date