Author: eallen
Date: 2009-05-29 11:07:26 -0400 (Fri, 29 May 2009)
New Revision: 3408
Modified:
mgmt/trunk/cumin/python/cumin/grid/job.py
Log:
Don't render the word False for the job phase switch when in group mode
Modified: mgmt/trunk/cumin/python/cumin/grid/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/job.py 2009-05-29 14:56:41 UTC (rev 3407)
+++ mgmt/trunk/cumin/python/cumin/grid/job.py 2009-05-29 15:07:26 UTC (rev 3408)
@@ -1075,7 +1075,7 @@
return "Jobs %s" % fmt_count(self.jobs_tab.get_full_item_count(session,
*args))
def render_phase(self, session, *args):
- return self.mode.get(session) == self.jobs_tab and
self.jobs_tab.phase.render(session)
+ return self.mode.get(session) == self.jobs_tab and
self.jobs_tab.phase.render(session) or ""
class JobGroupTab(JobGroupSet, Form):
def __init__(self, app, name):
Show replies by date