author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> |
Thu, 19 Dec 2019 12:14:52 +0100 | |
branch | 3.22 |
changeset 12838 | 8db162bae07d |
parent 11104 | 269317987dc6 |
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'))