On 2/20/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
>  Works: self.context.myattribute
>
>  Works: removeSecurityProxy(self.context).__getattribute__('myattribute')
>
> What I want to do:
>
>  Doesn't work: self.context.__getattribute__('myattribute')

getattr(self.context, 'myattribute')

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to