changeset 11104 | 269317987dc6 |
11103:d1798710f922 | 11104:269317987dc6 |
---|---|
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 |