[rhmessaging-commits] rhmessaging commits: r1749 - mgmt/cumin/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Mon Mar 3 08:33:49 EST 2008


Author: justi9
Date: 2008-03-03 08:33:49 -0500 (Mon, 03 Mar 2008)
New Revision: 1749

Modified:
   mgmt/cumin/python/wooly/tables.py
Log:
Don't generate broken html

Modified: mgmt/cumin/python/wooly/tables.py
===================================================================
--- mgmt/cumin/python/wooly/tables.py	2008-03-03 13:17:48 UTC (rev 1748)
+++ mgmt/cumin/python/wooly/tables.py	2008-03-03 13:33:49 UTC (rev 1749)
@@ -101,7 +101,7 @@
         return self.name
 
     def get_class_attr(self, session):
-        return self.alignment == "right" and "class=\"ralign\""
+        return self.alignment == "right" and "class=\"ralign\"" or ""
 
     def do_render(self, session, data):
         content = self.render_content(session, data)




More information about the rhmessaging-commits mailing list