bin/cubicweb-ctl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 27 Jun 2013 14:12:00 +0200
changeset 9113 af6efc15fc90
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[repository] add an ``internal_cnx`` method to replace ``internal_session`` Accessing the repo through a Session is deprecated. We need an easy replacement for ``internal_session``. This API change was a good occasion to stop disabling integrity hook by default. This is huge source of bug in user-code. related to #2503918

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