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

Sidnei da Silva sidnei at awkly.org
Tue Jul 6 14:58:55 EDT 2004


Log message for revision 26122:

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




-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/__init__.py	2004-07-06 18:58:46 UTC (rev 26121)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/__init__.py	2004-07-06 18:58:55 UTC (rev 26122)
@@ -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