author | Philippe Pepiot <philippe.pepiot@logilab.fr> |
Thu, 05 Mar 2020 10:41:14 +0100 | |
branch | 3.26 |
changeset 12905 | fb6aecd654a3 |
parent 11129 | 97095348b3ee |
permissions | -rw-r--r-- |
from os import unlink from os.path import isfile, join from cubicweb.cwconfig import CubicWebConfiguration as cwcfg regdir = cwcfg.instances_dir() if isfile(join(regdir, 'startorder')): if confirm('The startorder file is not used anymore in Cubicweb 3.22. ' 'Should I delete it?', shell=False, pdb=False): unlink(join(regdir, 'startorder'))