Re: [Zope] object acquisition via python scripts

2005-07-22 Thread Paul Winkler
On Fri, Jul 22, 2005 at 04:10:03PM +0100, Jon Bowlas wrote: And my get_attobject script contains the following code: attobjects = context.objectValues('Attributes object') if attobjects: return attobjects[0] return None (snip) But what I'd like to

RE: [Zope] object acquisition via python scripts

2005-07-22 Thread Jon Bowlas
acquisition via python scripts On Fri, Jul 22, 2005 at 04:10:03PM +0100, Jon Bowlas wrote: And my get_attobject script contains the following code: attobjects = context.objectValues('Attributes object') if attobjects: return attobjects[0] return None