[Zope-dev] New IOBTrees have no 'map' method

Chris Withers chrisw@nipltd.com
Mon, 07 May 2001 15:45:14 +0100


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