Re: [Zope] Re: Strange property behaviour - why? (zope 2.10/Five)

2008-05-13 Thread Piotr Chamera

Suresh V. pisze:

Piotr Chamera wrote:

def list_items2(self):
""" test """
return self.items

try to remove acquisition wrapper before you access items?

But this function returns no value, it fails to find "items" attribute
in self and tries to find it through acquisition :(

--
Piotr Chamera
___
Zope maillist  -  Zope@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 )


[Zope] Re: Strange property behaviour - why? (zope 2.10/Five)

2008-05-13 Thread Suresh V.

Piotr Chamera wrote:



def list_items2(self):
""" test """
return self.items


try to remove acquisition wrapper before you access items?

Suresh

___
Zope maillist  -  Zope@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 )