5 Jun
2001
5 Jun
'01
10:58 a.m.
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
9094
Age (days ago)
9094
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Withers