Hi *,

> But somehow I have the feeling it has more to do with the 'and the
> container is not wrapped' part of the message. Not that I can make sense
> of it ;-)

Mmm, after even more searching, and not understanding I found

http://www.mail-archive.com/[EMAIL PROTECTED]/msg11438.html

and changed my code to:

    def __of__(self, parent):
        if not hasattr(parent,'aq_base'):
            return self

        folder,id = self.remoteid.split(':')
        acl = parent.unrestrictedTraverse(folder)
        remote = acl.getUser(id)

        return Acquisition.ImplicitAcquisitionWrapper(aq_base(self),


Now, this actually seems to work. If only I knew why....



Attachment: signature.asc
Description: OpenPGP digital signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to