[Checkins] SVN: Products.SQLAlchemyDA/trunk/ fixed typo causing very nasty conflict errors :-/

Andreas Jung andreas at andreas-jung.com
Sun May 6 11:23:59 EDT 2007


Log message for revision 75568:
  fixed typo causing very nasty conflict errors :-/
  

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

-=-
Modified: Products.SQLAlchemyDA/trunk/CHANGES.txt
===================================================================
--- Products.SQLAlchemyDA/trunk/CHANGES.txt	2007-05-06 15:11:11 UTC (rev 75567)
+++ Products.SQLAlchemyDA/trunk/CHANGES.txt	2007-05-06 15:23:58 UTC (rev 75568)
@@ -3,6 +3,8 @@
     - connections can be closed/opened through the ZMI
 
     - some code cleanup
+
+    - fixed a *very* stupid typo causing ZODB conflict errors
  
 0.2.0 (05.05.2007)
 

Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py	2007-05-06 15:11:11 UTC (rev 75567)
+++ Products.SQLAlchemyDA/trunk/da.py	2007-05-06 15:23:58 UTC (rev 75568)
@@ -102,7 +102,7 @@
             hope that is portable code.
         """
 
-        if not hasattr(self, '__v__types_map'):
+        if not hasattr(self, '_v_types_map'):
             dbapi = proxy.dialect.dbapi
 
             map = dict()
@@ -111,8 +111,8 @@
                 if type_obj is not None:
                     for v in type_obj.values:
                         map[v] = name
-            self.__v__types_map = map  
-        return self.__v__types_map
+            self._v_types_map = map  
+        return self._v_types_map
 
 
     def query(self, query_string, max_rows=None, query_data=None):



More information about the Checkins mailing list