[Checkins] SVN: Products.SQLAlchemyDA/trunk/da.py fetching another oracle error in typesMap

Andreas Jung andreas at andreas-jung.com
Sat Jun 9 02:00:04 EDT 2007


Log message for revision 76524:
  fetching another oracle error in typesMap
  

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

-=-
Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py	2007-06-09 05:57:48 UTC (rev 76523)
+++ Products.SQLAlchemyDA/trunk/da.py	2007-06-09 06:00:03 UTC (rev 76524)
@@ -143,8 +143,12 @@
                         for v in type_obj.values:
                             map[v] = name
                     else:
-                        for v in type_obj:
-                            map[v] = name
+                        try:
+                            for v in type_obj:
+                                map[v] = name
+                        except TypeError:
+                            # ATT: fix this :->
+                            pass
 
             self._v_types_map = map  
         return self._v_types_map



More information about the Checkins mailing list