Hi,
I've got a strange effect here. A view on an object of mine has to remove all
the objects childs:
class MyView(BrowserView):
def __call__(self):
for entry in self.context.keys():
del self.context[entry]
return ''
Unfortunately, the view removes just half the objects - independently of how
much
objects are left inside the container.
The object itself looks like this:
class MyObject(BTreeContainer):
implements(MyInterFace)
Is this a bug or some kind of protection against accidential removal? Is
there a more efficient way of removing all the BTreeContainer's objects at
once?
BTW: I've got the same effect on a different object, too.
Regards,
Frank
_______________________________________________
Zope3-users mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope3-users