[Zope3-checkins] CVS: Products3/MySQLdbDA - Adapter.py:1.2 configure.zcml:1.2

Christian Theune ct@gocept.com
Fri, 13 Dec 2002 14:51:56 -0500


Update of /cvs-repository/Products3/MySQLdbDA
In directory cvs.zope.org:/tmp/cvs-serv20092/MySQLdbDA

Modified Files:
	Adapter.py configure.zcml 
Log Message:
- fixed some debugging code (print statement)
- catched up with the refactoring for AttributeAnnotatable


=== Products3/MySQLdbDA/Adapter.py 1.1 => 1.2 ===
--- Products3/MySQLdbDA/Adapter.py:1.1	Thu Dec 12 08:24:13 2002
+++ Products3/MySQLdbDA/Adapter.py	Fri Dec 13 14:51:25 2002
@@ -36,7 +36,6 @@
         """Create a MySQLdb DBI connection based on the DSN"""
 
         conn_info = parseDSN(self.dsn)
-        print conn_info
         return MySQLdb.Connect(db=conn_info['dbname'],
                              host=conn_info['host'],
                              user=conn_info['username'],


=== Products3/MySQLdbDA/configure.zcml 1.1 => 1.2 ===
--- Products3/MySQLdbDA/configure.zcml:1.1	Thu Dec 12 08:24:13 2002
+++ Products3/MySQLdbDA/configure.zcml	Fri Dec 13 14:51:25 2002
@@ -2,6 +2,8 @@
     xmlns='http://namespaces.zope.org/zope'>
 
     <content class=".Adapter.MySQLdbAdapter">
+        <implements 
+            interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
         <factory id="MySQLdbDA"
                 permission="Zope.Public" />
         <require permission="Zope.Public"