bin/cubicweb-ctl
author Alain Leufroy <alain.leufroy@logilab.fr>
Wed, 21 May 2014 16:14:17 +0200
branchstable
changeset 9926 93a44cf0d030
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[cwvreg] cleanup the event manager when reloading modules Closes #3848995 The event manager callbacks are not cleaned during reloading. So the callback defined in the reloaded module appears twice (old and new version). This may cause problem when the old version is called.

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