[Zope] Request & has_key

Philip Kilner phil at xfr.co.uk
Wed Apr 21 15:50:47 EDT 2004


Hi Jim,

Thanks for your response.

Jim Kutter wrote:
> I would simply do the following
> 
> job_step = int(request.get('job_step', 1))
> 

I did try something similar, and have just tried the fragment you 
suggest, but if I try to use job_step when it's /not/ in the request I 
get an attribute error on job_step...

Cheers,

PhilK




More information about the Zope mailing list