bin/cubicweb-ctl
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 13 Mar 2014 17:03:15 +0100
changeset 9728 f79ce7b39ee9
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[web/ajax] Always return a json dict with a 'reason' key in case of ajax errors Sending sometimes a bare unicode string and sometimes a json-encoded dict seems like a bad idea.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])