Hi Darryl,
That is how I had the IFosterRecord interface before, and I got a lot
more errors than just __setitem__. I am only getting the __setitem__
error now, after changing it to something like:
class IFosterRecord(Interface):
contains('.IFosterSource')
title = TextLine(...)
and th
Hi Rob,
__setitem__ is likely also part of your IFosterRecord interface.
class IFosterRecord(IContainer) #?
and this is causing the conflict.
Regards,
Darryl
On Tue, 2006-09-19 at 15:35 -0700, Rob Campbell wrote:
> I know I read about this error somewhere before, but I haven't been able
> t
I know I read about this error somewhere before, but I haven't been able
to find anything through Google searches. I have a container that also
has it's own attributes. I am calling
zope.app.container.constraints.contains from IFosterRecord, is that what
is causing the __setitem__ problem?