7 phases = ("Not Initialized", #0
10 "Solution generating", #3
11 "Solution generated", #4
12 "Solution applying", #5
13 "Solution applied", #6
14 "Kernel configuration", #7
15 "Kernel configured", #8
22 with open(sf(conf.phase_file)) as f:
23 txtPhase = f.readline().rstrip()
24 if not txtPhase in phases:
26 return phases.index(txtPhase)
27 except FileNotFoundError:
31 with open(sf(conf.phase_file), 'w') as f:
38 return phases.index(str)
41 "Prints message signaling running phase."
42 print("-- " + phases[phs])