Re: [Zope] Defining a dictionary in ZPT?

2007-11-01 Thread michael nt milne
yeah I have modified to this First Name  but get this as a result. Thanks for the reply. Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__ Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: query(id='IT') Module Python expression "quer

Re: [Zope] Defining a dictionary in ZPT?

2007-11-01 Thread Paul Winkler
On Thu, Nov 01, 2007 at 12:48:04PM +, michael nt milne wrote: > Hi > > I've got this piece of code which is returning a keyerror on 'results' as I > haven't set up a dictionary for the variables. (snip) > > > First Name  > "http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] Defining a dictionary in ZPT?

2007-11-01 Thread michael nt milne
Hi I've got this piece of code which is returning a keyerror on 'results' as I haven't set up a dictionary for the variables. I'm not sure what the syntax is for this within the ZPT. I've read about the 'options' dictionary. Can I use that? Thanks First Name  -- michael ___