Have you read the Interfaces.py file in the BTrees directory? ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: <zope-dev@zope.org> Sent: Monday, May 07, 2001 10:45 AM Subject: [Zope-dev] New IOBTrees have no 'map' method
Hi,
I was going to have the next version of Squishdot use the new BTrees, but it appears that the new objects don't have the same methods as the old ones.
In particular, the following line from Squishdot:
return map(lambda x, p=self: x.__of__(p), self.data.map(self.site_id_list(currtime)))
...fails with an attribute error on map.
self.data is an IOBTree.
Any ideas?
cheers,
Chris
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )