bin/cubicweb-ctl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Nov 2016 15:17:32 +0100
changeset 11855 e6cdc4d3add5
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[rqlrewrite] Test and fix potential NameError We were referencing a loop variable, which may lead to a name error and show a potential error if there are several matching variables. To avoid this, introduce a list to hold every encountered variable and process all of them later.

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