[Zope-dev] Bug in Shared/DC/ZRDB/DA.py

Dieter Maurer dieter at handshake.de
Thu Nov 16 17:14:35 EST 2006


Chris Withers wrote at 2006-11-16 16:42 +0000:
>Around line 42 of DA.py, we've got the following:
>
>try: from IOBTree import Bucket
>except: Bucket=lambda:{}
>
>Given that IOBTree has been dead for some time now, can we remove this 
>and replace instances of Bucket() with {} or is there a more appropriate 
>object we can use from the BTrees package?

>>> from BTrees.IOBTree import IOBucket

would be the new equivalent to the old "IOBTree.Bucket".



-- 
Dieter


More information about the Zope-Dev mailing list