[Zope-dev] Zope 2.7.2, restrictedTraverse or hasattr

2004-08-02 Thread Kai Hoppert
Hi all, i actually have a Problem with restrictedTraverse and hasattr. Object1 Object2 Object3 I want to test if there exists a Object in Object3 wich has the same id and meta type how Object2 (id=myobject). so i ask Object3.restrictedTraverse('myobject',None)

Re: [Zope-dev] Zope 2.7.2, restrictedTraverse or hasattr

2004-08-02 Thread Dieter Maurer
Kai Hoppert wrote at 2004-8-2 14:04 +0200: i actually have a Problem with restrictedTraverse and hasattr. Object1 Object2 Object3 I want to test if there exists a Object in Object3 wich has the same id and meta type how Object2 (id=myobject). so i ask