Commit 4beac602 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

hal_json_style/Base_redirect: pass an URL to Redirect

Even if this is not used because we have locked a status earlier, the
constructor expects an URL with zExceptions 4
parent cc813ae9
......@@ -88,5 +88,5 @@ if (form_id not in [None, 'Base_viewFakePythonScriptActionForm', 'Base_viewFakeJ
result = json.dumps(result_dict, indent=2)
if abort_transaction:
response.setBody(result, lock=True)
raise Redirect
raise Redirect('')
return result
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment