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?



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to