On Jul 11, 3:38 am, michael <[EMAIL PROTECTED]> wrote:
> I thought maybe I was passing it that way so tried tousername.decode("ascii") 
> before calling
> request.environ['paste.auth_tkt.set_user'](username). did not work.
>
> I realize that not all usernames will be ascii, so I am raising the
> issue.

In *my* application, I restrict all usernames to ASCII at the moment.
My current workaround is username.encode("ascii"), which works fine
(not username.decode() ).

-- Michael


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to