[Zope3-checkins] CVS: Zope3/src/zope/app/services - connection.py:1.5

Viktorija Zaksiene ryzaja@codeworks.lt
Thu, 23 Jan 2003 04:46:32 -0500


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv16983/src/zope/app/services

Modified Files:
	connection.py 
Log Message:
Fixed SQL Script test page.


=== Zope3/src/zope/app/services/connection.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/services/connection.py:1.4	Fri Jan 17 11:33:13 2003
+++ Zope3/src/zope/app/services/connection.py	Thu Jan 23 04:46:30 2003
@@ -22,6 +22,7 @@
         import INameComponentConfigurable
 from zope.app.services.configuration import NameComponentConfigurable
 from zope.app.interfaces.rdb import IConnectionService
+from zope.app.interfaces.rdb import IZopeDatabaseAdapter
 
 
 class ILocalConnectionService(IConnectionService, INameComponentConfigurable):
@@ -89,4 +90,7 @@
     status = ConfigurationStatusProperty('SQLDatabaseConnections')
 
     label = "Connection"
+
+    def getInterface(self):
+        return IZopeDatabaseAdapter