cubicweb/__main__.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 07 Apr 2017 14:31:41 +0200
branch3.25
changeset 12138 10a18c6c5e10
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[cwconfig] Add "pyramid" config type to MCOMPAT dict I don't know what this is for exactly, but the accept_mode method below queries this dict with the configuration type name. And if the latter is "pyramid", it crashes since there's no key in MCOMPAT dict. So add one with the same value as "all-in-one". This code is called during "upgrade" migration in particular.

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])