Hi,

I have a product class that subclasses SimpleItem and PropertyManager.

If I try and add a property in __init__ as so:

self.manage_addProperty('AProperty','1\n2\n3','lines')

I get the following wonderful error:

Error Type: AttributeError
Error Value: aq_base

I'm guessing that this is because self isn't an acquisition wrapper in
__init__ (even though SimpleItem is Acquisition.Implicit) but what am I
supposed to do to add a property in __init__?

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to