[Zope-dev] getPersistentItemIDs not cooperating?
Steve Spicklemire
steve@spvi.com
Wed, 23 May 2001 12:33:01 -0500
Hi Phil,
FYI.. this doesn't work in a PythonScript since indexing into a
BTreeItems is (apparently) not allowed by the "Security Machinery".
So... a simple list is looking better and better! ;-)
-steve
On Wednesday, May 23, 2001, at 11:22 AM, Phillip J. Eby wrote:
> The fix would probably be:
>
> foo = getPersisentItemIDs()
>
> while foo:
> foo[0].manage_delete()
>
> I should probably do this in ZPatterns too. I'm working on upgrading
> it for 2.3.2 right now anyway.