bin/cubicweb-ctl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 05 Oct 2017 17:24:29 +0200
branch3.25
changeset 12204 95e0883e2375
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[web/form] Relax condition for non-translating field names we should test true condition instead of None, so if one raise a ValidationError using an empty string as 'no-field' marker instead of None, we don't get the PO file header that gettext likes to return when one attempt to translate an empty string.

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