Re: Problem with command-line parsing. Affects OpenID auth
"Uncle Zzzen" <[email protected]> Fri, 16 Mar 2007 01:39:33 +0200
| Newsgroups | gmane.comp.web.albatross.general |
|---|---|
| Message-ID | <[email protected]> |
On 3/16/07, Andrew McNamara <[email protected]> wrote: > The simplest answer is to put an object called openid into ctx.locals. > After the page loads, the dummy object will have an attribute > "assoc_handle", and you can do with this what you please. It worked. I've subclassed the context and added self.locals.openid=albatros.context.Vars() at the end of __init__ Thanks. -- "What do you give a man who has everything? A condom, unless you also want to have what he's got" -- Um Zeresh gpg: http://zzzen.com/zzzen.asc fingerprint(0x7F1BCD50) = 0FEE 7BA9 6F1C 23F9 BACD 0F72 6434 F9A7 7F1B CD50 -- "What do you give a man who has everything? A condom, unless you also want to have what he's got" -- Um Zeresh gpg: http://zzzen.com/zzzen.asc fingerprint(0x7F1BCD50) = 0FEE 7BA9 6F1C 23F9 BACD 0F72 6434 F9A7 7F1B CD50