[Checkins] SVN: Products.SQLAlchemyDA/trunk/da.py added missing constructor

Andreas Jung andreas at andreas-jung.com
Mon Apr 30 04:08:59 EDT 2007


Log message for revision 74910:
  added missing constructor
  

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

-=-
Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py	2007-04-30 07:57:48 UTC (rev 74909)
+++ Products.SQLAlchemyDA/trunk/da.py	2007-04-30 08:08:58 UTC (rev 74910)
@@ -23,14 +23,18 @@
     _properties = (
         {'id' : 'sqlalchemy_wrapper_name', 'type' : 'selection', 'mode' : 'rw', 
          'select_variable' : 'registeredWrappers'},
+        {'id' : 'title', 'type' : 'string', 'mode' : 'rw'}, 
     )
 
-    id = 'sqlalchemy_da'
     meta_type = 'SQLAlchemy Wrapper Integration'
     sqlalchemy_wrapper_name = ''
 
     security = ClassSecurityInfo()
 
+    def __init__(self, id, title=''):
+        self.id = id
+        self.title = title
+
     def registeredWrappers(self):
         """ return a list of registered wrapper names """
         return allSAWrapperNames()



More information about the Checkins mailing list