[rhmessaging-commits] rhmessaging commits: r2776 - mgmt/trunk/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Sun Nov 9 23:42:58 EST 2008


Author: justi9
Date: 2008-11-09 23:42:58 -0500 (Sun, 09 Nov 2008)
New Revision: 2776

Modified:
   mgmt/trunk/cumin/python/cumin/job.py
Log:
Only show the last 16 characters of the command in the command column of JobSet.

Modified: mgmt/trunk/cumin/python/cumin/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.py	2008-11-10 04:31:24 UTC (rev 2775)
+++ mgmt/trunk/cumin/python/cumin/job.py	2008-11-10 04:42:58 UTC (rev 2776)
@@ -190,7 +190,7 @@
             return "Command"
         
         def render_content(self, session, data):
-            return fmt_shorten(data[self.name], pre=5, post=11)
+            return fmt_shorten(data[self.name], 0, 16)
 
     class TitleColumn(SqlTableColumn):
         def render_title(self, session, data):




More information about the rhmessaging-commits mailing list