cubicweb/__main__.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 01 Feb 2016 17:50:05 +0100
changeset 11329 a8cab8fb54ba
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[dataimport] drop massive store's flush_metadata method This method handle a temporary table which sounds useless, and even buggy in some cases (metadata for a single entity types will be only flushed once even if flush is called several time). Instead, simply call the method-doing-the job after entities have been inserted (and make it private along the way).

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])