On 16-08-2007, Ian Bicking wrote:
> William Dode wrote:
>> Hi,
>>
>> For an unknown var, query and post doesn't answer the same. Is there
>> a reason for this ?
>>
>> In [18]: req = Request.blank('')
>>
>> In [19]: req.queryvars.get('unknown','?')
>> Out[19]: '?'
>>
>> In [20]: req.queryvars.get('unknown')
>>
>> In [21]: req.postvars.get('unknown','?')
>> ---------------------------------------------------------------------------
>> exceptions.AttributeError Traceback (most recent
>> call last)
>
> Hmm... your line numbers don't match up with mine, though maybe it's
> because I added a bunch of docstrings last night. I don't think I've
> done anything meaningful to this code lately.
Sorry, i didn't try with the last commit, i was with the rev 6816, it
works fine now.
--
William Dodé - http://flibuste.net
Développeur informatique indépendant
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users