[Zope-Checkins] CVS: Zope3/lib/python/ZODB - Connection.py:1.70 IConnection.py:1.3
Jeremy Hylton
jeremy@zope.com
Tue, 16 Jul 2002 18:32:43 -0400
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv4222
Modified Files:
Connection.py IConnection.py
Log Message:
Add assertion that Connection implements IConnection.
Fix syntax error in IConnection.
=== Zope3/lib/python/ZODB/Connection.py 1.69 => 1.70 ===
from ZODB import ExportImport, TmpStore
from ZODB.ConflictResolution import ResolvedSerial
+from ZODB.IConnection import IConnection
from ZODB.POSException import ConflictError
from ZODB.utils import U64
@@ -94,6 +95,8 @@
# Experimental. Other connections can register to be closed
# when we close by putting something here.
+
+ __implements__ = IConnection
def __init__(self, db, version='', cache_size=400,
cache_deactivate_after=60):
=== Zope3/lib/python/ZODB/IConnection.py 1.2 => 1.3 ===
"""
def close():
- # XXX
+ pass