On Dec 29, 2007, at 7:38 PM, Noah Tye wrote:
>
> When I try to use a dictionary in a mako template, like this:
>
> ${{'x': 'a', 'y': 'b'}['x']}
>
> I get a server error like this:
>
> "SyntaxException: (SyntaxError) unexpected EOF while parsing (line 1)
> (u"{'t': 'a', 'f': 'b'") in file '<file location>' at line: 22 char:
> 8"
>
http://www.makotemplates.org/trac/ticket/20
--
Philip Jenvey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---