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



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to