bin/cubicweb-ctl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 27 Mar 2013 16:17:21 +0100
changeset 8814 37fd037c0526
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[session] move context manager logic in the hook controls context manager The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other user that the context manager itself. Having dedicated public function is not useful.

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