[Erp5-report] r37153 leonardo - /erp5/trunk/products/ZMySQLDA/db.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 16 00:07:53 CEST 2010


Author: leonardo
Date: Fri Jul 16 00:07:50 2010
New Revision: 37153

URL: http://svn.erp5.org?rev=37153&view=rev
Log:
Give access to the setSortKey() method of the underlying transaction manager

Modified:
    erp5/trunk/products/ZMySQLDA/db.py

Modified: erp5/trunk/products/ZMySQLDA/db.py
URL: http://svn.erp5.org/erp5/trunk/products/ZMySQLDA/db.py?rev=37153&r1=37152&r2=37153&view=diff
==============================================================================
--- erp5/trunk/products/ZMySQLDA/db.py [utf8] (original)
+++ erp5/trunk/products/ZMySQLDA/db.py [utf8] Fri Jul 16 00:07:50 2010
@@ -169,8 +169,8 @@ def int_or_long(s):
 class ThreadedDB:
     """
       This class is an interface to DB.
-      Its caracteristic is that an instance of this class interfaces multiple
-      instanes of DB class, each one being bound to a specific thread.
+      Its characteristic is that an instance of this class interfaces multiple
+      instances of DB class, each one being bound to a specific thread.
     """
 
     conv=conversions.copy()
@@ -297,6 +297,10 @@ class ThreadedDB:
     def string_literal(self, *args, **kw):
         return self._access_db(method_id='string_literal', args=args, kw=kw)
 
+    def setSortKey(self, *args, **kw):
+        return self._access_db(method_id='setSortKey', args=args, kw=kw)
+
+
 class DB(TM):
 
     defs={




More information about the Erp5-report mailing list