3 Mar
2004
3 Mar
'04
8:43 a.m.
Hi List, Can't figure this out - need help! In a Script (Python), I'm testing for the presence (or more precisely the absence) of a key in the request, like so: - request=context.REQUEST if not request.has_key('the_key'): The problem is that the test always fails (e.g. it acts as though the key is absent, even when it is not). If I modify the test to check for a form filed, it works fine. What am I doing wrong? -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 "The lyf so short, the craft so long to learne" - Chaucer