[Zope-CVS] CVS: Products/Ape/lib/apelib/core - gateways.py:1.3 interfaces.py:1.4
Shane Hathaway
shane@zope.com
Sat, 17 May 2003 20:47:31 -0400
Update of /cvs-repository/Products/Ape/lib/apelib/core
In directory cvs.zope.org:/tmp/cvs-serv27873/core
Modified Files:
gateways.py interfaces.py
Log Message:
Removed the checkConnection method because it is not needed. If it is needed later, it will be a method of a different interface.
=== Products/Ape/lib/apelib/core/gateways.py 1.2 => 1.3 ===
--- Products/Ape/lib/apelib/core/gateways.py:1.2 Tue Apr 29 18:11:50 2003
+++ Products/Ape/lib/apelib/core/gateways.py Sat May 17 20:47:00 2003
@@ -55,11 +55,6 @@
res[name] = s
return res
- def checkConnection(self, event):
- """Verifies that each gateway can connect to its data source."""
- for name, gw in self._gws.items():
- gw.checkConnection(event)
-
def load(self, event):
"""Loads data.
@@ -109,9 +104,6 @@
def getSchema(self):
return self.schema
-
- def checkConnection(self, event):
- pass
def load(self, event):
# Returns (data, serial)
=== Products/Ape/lib/apelib/core/interfaces.py 1.3 => 1.4 ===
--- Products/Ape/lib/apelib/core/interfaces.py:1.3 Tue Apr 29 18:11:50 2003
+++ Products/Ape/lib/apelib/core/interfaces.py Sat May 17 20:47:00 2003
@@ -299,12 +299,6 @@
See serial.interfaces.ISchema.
"""
- def checkConnection(event):
- """Verifies that the event provides a usable connection.
-
- event is an IGatewayEvent.
- """
-
def load(event):
"""Loads data.