[Checkins] SVN: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/da.py fixes for SA 0.4+

Andreas Jung andreas at andreas-jung.com
Sun Mar 23 10:14:47 EDT 2008


Log message for revision 84880:
  fixes for SA 0.4+
  

Changed:
  U   Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/da.py

-=-
Modified: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/da.py	2008-03-23 14:08:43 UTC (rev 84879)
+++ Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/da.py	2008-03-23 14:14:46 UTC (rev 84880)
@@ -126,7 +126,7 @@
         """
 
         if not hasattr(self, '_v_types_map'):
-            dbapi = proxy.dialect.dbapi
+            dbapi = self._wrapper.engine.dialect.dbapi
 
             map = dict()
             for name  in types_mapping.keys():
@@ -170,7 +170,7 @@
             else:
                 proxy = c.execute(qs)
 
-            description = proxy.cursor.description
+            description = proxy.description
 
             if description is not None:
                 nselects += 1



More information about the Checkins mailing list