[Zope] AttributeError in python script

Trevor Toenjes zope@toenjes.com
Sat, 26 Jan 2002 09:55:45 -0500


##parameters=myFolder, myObjectType
results=[]
for object in container.myFolder.objectValues(myObjectType):
   tuple = object.title, object.id
   results.append(tuple)
return results

I get an attribute error calling the following.
tuple_of_items('idofTargetFolder','DTML_Method')

I have tried getitem and render.

Please help me with what I have missed?
Thanks,
Trevor