[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/rdb/__init__.py Make ZopeDatabaseAdapter subclass

Sidnei da Silva sidnei at awkly.org
Tue Jul 6 15:03:32 EDT 2004


Log message for revision 26127:

Make ZopeDatabaseAdapter subclass
zope.app.container.contained.Contained, as it can be contained *wink*




-=-
Modified: Zope3/trunk/src/zope/app/rdb/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/__init__.py	2004-07-06 19:03:22 UTC (rev 26126)
+++ Zope3/trunk/src/zope/app/rdb/__init__.py	2004-07-06 19:03:32 UTC (rev 26127)
@@ -34,6 +34,7 @@
 
 from zope.interface import implements
 from zope.app import zapi
+from zope.app.container.contained import Contained
 from zope.app.rdb.interfaces import DatabaseException
 from zope.app.rdb.interfaces import IResultSet
 from zope.app.rdb.interfaces import IZopeConnection, IZopeCursor
@@ -107,7 +108,7 @@
     pass
 
 
-class ZopeDatabaseAdapter(Persistent):
+class ZopeDatabaseAdapter(Persistent, Contained):
 
     implements(IZopeDatabaseAdapter)
     _v_connection =  None



More information about the Zope3-Checkins mailing list