[Zope] hasattr

Garito garito at sistes.net
Tue Sep 14 11:44:34 EDT 2004


Hi all

I've created a Python Script like class with Catalogawarness and 
PropertyManager as super classes too

My problems begins when I try to know if these objects has some 
properties. If I try these:

hasattr(object.aq_explicit, 'someproperty')

the function returns false but when I go to ZMI to object's properties 
form I could see the property someproperty

Can you help me?

Thank a lot!!!





More information about the Zope mailing list