[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/RDB/GadflyDA - Adapter.py:1.3 configure.zcml:1.2

Viktorija Zaksiene ryzaja@codeworks.lt
Wed, 11 Dec 2002 03:01:35 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB/GadflyDA
In directory cvs.zope.org:/tmp/cvs-serv21423/GadflyDA

Modified Files:
	Adapter.py configure.zcml 
Log Message:
Moved IAttributeAnnotatable declaration to configure.zcml


=== Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py:1.2	Mon Dec  9 10:26:42 2002
+++ Zope3/lib/python/Zope/App/RDB/GadflyDA/Adapter.py	Wed Dec 11 03:01:34 2002
@@ -24,7 +24,6 @@
 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
 
@@ -32,7 +31,7 @@
 class GadflyAdapter(ZopeDatabaseAdapter):
     """A Gadfly adapter for Zope3"""
     
-    __implements__ = ZopeDatabaseAdapter.__implements__, IAttributeAnnotatable
+    __implements__ = ZopeDatabaseAdapter.__implements__
 
     def _getGadflyRoot(self):
 	# XXX: Need to write a configuration directive for setting this up


=== Zope3/lib/python/Zope/App/RDB/GadflyDA/configure.zcml 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/RDB/GadflyDA/configure.zcml:1.1	Tue Nov  5 12:34:39 2002
+++ Zope3/lib/python/Zope/App/RDB/GadflyDA/configure.zcml	Wed Dec 11 03:01:34 2002
@@ -7,6 +7,7 @@
       permission="Zope.Public" />
   <require permission="Zope.Public" 
       interface="Zope.App.RDB.IZopeDatabaseAdapter." />
+  <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
 </content>
 
 <include package=".Views" />