[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/RDB/GadflyDA - Adapter.py:1.2
Viktorija Zaksiene
ryzaja@codeworks.lt
Mon, 9 Dec 2002 10:26:43 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB/GadflyDA
In directory cvs.zope.org:/tmp/cvs-serv24078/lib/python/Zope/App/RDB/GadflyDA
Modified Files:
Adapter.py
Log Message:
ConnectionService is no longer a container of database adapters; now the
latter are added directly into a package and bound to the connection service
via the common configuration mechanism.
=== Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py:1.1 Tue Nov 5 12:34:39 2002
+++ Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py Mon Dec 9 10:26:42 2002
@@ -24,6 +24,7 @@
from Zope.App.RDB.ZopeDatabaseAdapter import ZopeDatabaseAdapter, parseDSN
from Zope.App.RDB.ZopeDatabaseAdapter import DatabaseAdapterError
from Zope.App.RDB.ZopeConnection import ZopeConnection
+from Zope.App.OFS.Annotation.IAttributeAnnotatable import IAttributeAnnotatable
GadflyError = DatabaseAdapterError
@@ -31,7 +32,7 @@
class GadflyAdapter(ZopeDatabaseAdapter):
"""A Gadfly adapter for Zope3"""
- __implements__ = ZopeDatabaseAdapter.__implements__
+ __implements__ = ZopeDatabaseAdapter.__implements__, IAttributeAnnotatable
def _getGadflyRoot(self):
# XXX: Need to write a configuration directive for setting this up