[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - db.py:1.5
Shane Hathaway
shane at zope.com
Thu Aug 14 17:22:41 EDT 2003
Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv2880/lib/apelib/zodb3
Modified Files:
db.py
Log Message:
Convert the scan_interval to an integer for compatibility with DBTab.
Thanks to Seb Bacon for spotting this bug and several others.
=== Products/Ape/lib/apelib/zodb3/db.py 1.4 => 1.5 ===
--- Products/Ape/lib/apelib/zodb3/db.py:1.4 Wed Jul 30 17:33:12 2003
+++ Products/Ape/lib/apelib/zodb3/db.py Thu Aug 14 16:22:36 2003
@@ -113,6 +113,7 @@
assert IOIDEncoder.isImplementedBy(oid_encoder)
self._oid_encoder = oid_encoder
self._mapper_resource = mapper_resource
+ scan_interval = int(scan_interval)
if scan_interval > 0:
from scanner import ScanControl
ctl = ScanControl(db=self, scan_interval=scan_interval)
More information about the Zope-CVS
mailing list