bin/cubicweb-ctl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Dec 2009 21:02:37 +0100
branchstable
changeset 4195 86dcaf6bb92f
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
closes #601987 1) sqlutils.restore_from_file have to use its confirm argument when a command fail, to propose to continue there (this can't be handled by the caller) 2) source.restore method hence needs to take this confirmation callback as argument 3) properly fix places where 'drop' was given instead of 'confirm'

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