[Zope] Accessing CURRENT property

Peter Bengtsson peter at fry-it.com
Tue Oct 4 05:15:36 EDT 2005


http://zopelabs.com/cookbook/1002891491

2005/10/4, Alex Renier <goldenray3458 at yahoo.com>:
> 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, but it
> returns true because it looks down the hierarchy and
> sees the property in folder1.  is there a way to check
> for the property in folder2 ONLY without checking the
> ancestor folders?.
>
> Thanks!
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list