[Zope] Accessing CURRENT property

Chris Withers chris at simplistix.co.uk
Tue Oct 4 12:57:12 EDT 2005


Alex Renier wrote:
> Hello,
> if I have a folder1 in a folder2 and my folder 1 has a
> certain property.  If I want to know if folder2 has
> the property I use hasattr() method on folder2, 

Just a note in passing, hasattr is very dangerous to use in a Zope 2 
context...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list