return templates.list(searchList=[d])
elif back == 'info':
machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
- return ({'Status': '302',
+ return ({'Status': '303 See Other',
'Location': '/info?machine_id=%d' % machine.machine_id},
"You shouldn't see this message.")
else:
----
%s
----''' % (str(err), traceback.format_exc())
- self.start('200 OK', headers.items())
+ status = headers.setdefault('Status', '200 OK')
+ del headers['Status']
+ self.start(status, headers.items())
yield output_string
if fields.has_key('timedebug'):
yield '<pre>%s</pre>' % cgi.escape(str(checkpoint))