[rhmessaging-commits] rhmessaging commits: r3459 - mgmt/trunk/wooly/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Jun 17 17:40:36 EDT 2009


Author: justi9
Date: 2009-06-17 17:40:36 -0400 (Wed, 17 Jun 2009)
New Revision: 3459

Modified:
   mgmt/trunk/wooly/python/wooly/tables.py
Log:
Rename render_sql_orderby to order_by, and leave an alias for compatibility

Modified: mgmt/trunk/wooly/python/wooly/tables.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/tables.py	2009-06-17 20:21:38 UTC (rev 3458)
+++ mgmt/trunk/wooly/python/wooly/tables.py	2009-06-17 21:40:36 UTC (rev 3459)
@@ -201,11 +201,14 @@
     def render_find_sql_where(self, session, *args):
         pass
 
-    def render_sql_orderby(self, session, *args):
+    def render_sql_order_by(self, session, *args):
         scol = self.get_selected_column(session)
         if scol:
             return scol.get_order_by_sql(session)
 
+    def render_sql_orderby(self, session, *args):
+        return self.render_sql_order_by(session, *args)
+
     def render_sql_limit(self, session, *args):
         return None
 




More information about the rhmessaging-commits mailing list