bin/cubicweb-ctl
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 23 Feb 2017 17:34:37 +0100
changeset 11976 978a5773c4c3
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[server] Initialize Repository without a tasks manager in ServerMigrationHelper.restore_database() We don't need a tasks manager here I think. Thus instantiate the Repository from its class directly instead of using config.repository() which set a tasks manager.

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