[Zope] PUT method & get property of parent folder

Marcus Schopen marcus@localguru.de
Tue, 09 Apr 2002 11:23:25 +0200


Hei Maik,

thanks for answering.

Maik Jablonski wrote:
> if hasattr(self,'TIDY'):
>    ThenDoYourCleaningUp

That's what I thought too. But result is false and should be true.
 
> or if you want the property of the parent folder (or aquiring up):
> 
> if hasattr(self.aq_parent,'TIDY'):
>    ThenDoYourCleaningUp

does not work

Bye
Marcus

-- 


 ,---- [ Marcus Schopen ] 
|  (0>   
|  //\   P.O. Box 10 25 25
|  V_/_  D-33525 Bielefeld, Germany
|        
 `----

__________________________________________________

Petition for a Software Patent Free Europe 
http://petition.eurolinux.org