On 3/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > While trying the examples on page
> > http://pylonshq.com/docs/0.9.4.1/error_documents.html,
> the following line:
>
> % {'code':request.GET('code', ''), 'message':request.GET('message',
> '')}
>
> was getting me errors about "MultiDict instance has no __call__
> method"
>
> I changed to:
>
> % {'code':request.GET.get('code', ''),
> 'message':request.GET.get('message', '')}
>
> Which seems to work better. My Paste version is 1.3, I guess there
> were some API changes about this.
The doc looks wrong. It seems to me that request.GET.get('code', '')
makes a lot more sense.
-jj
--
http://jjinux.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---