bin/cubicweb-ctl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 04 Nov 2016 11:19:11 +0100
changeset 11800 3cd5ac8d43ed
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
Fix unexpected req.relative_path() when calling CWTC.app_handle_request with path argument The _deprecated_path_arg decorator can not be used in this case, since it won't ensure backward compat if path value has been specified and is not similar as req's path (which is generally the case). This problem has been introduced by 904ee9cd0cf9.

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