cubicweb/misc/migration/3.22.1_Any.py
changeset 11129 97095348b3ee
parent 11104 269317987dc6
equal deleted inserted replaced
11128:9b4de34ad394 11129:97095348b3ee
       
     1 from os import unlink
       
     2 from os.path import isfile, join
       
     3 from cubicweb.cwconfig import CubicWebConfiguration as cwcfg
       
     4 
       
     5 regdir = cwcfg.instances_dir()
       
     6 
       
     7 if isfile(join(regdir, 'startorder')):
       
     8     if confirm('The startorder file is not used anymore in Cubicweb 3.22. '
       
     9                'Should I delete it?',
       
    10                shell=False, pdb=False):
       
    11         unlink(join(regdir, 'startorder'))
       
    12