[Zope-dev] aq_explicit bug?
Chris Withers
chrisw@nipltd.com
Tue, 5 Jun 2001 11:58:17 +0100
This code from a python script gets called when iterating over either a list
of objects or catalog brains:
obj = _.getitem('sequence-item', 0).aq_explicit
url = getattr(obj,'getURL',obj.absolute_url)()
folderish = obj.isPrincipiaFolderish
I would always expect to get an attribute error on the last line, since
brains don't have that method, but I don't, folderish is always true since
it appears to acquire the catalog's 'isPrincipiaFolderish'...
What's going on here?
cheers,
Chris