File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919##################################
2020# Import Project packages
2121##################################
22+ from lib import ail_logger
2223from lib import ail_updates
2324
2425logging .config .dictConfig (ail_logger .get_config (name = 'updates' ))
2526def launch_background_upgrade (version ):
2627 logger = logging .getLogger ()
27- update .set_error ('Error Updater Script' )
28- print ('launching background update' , version )
28+ logger .warning (f'launching background update { version } ' )
2929 update = ail_updates .AILBackgroundUpdate (version )
3030 nb_done = update .get_nb_scripts_done ()
3131 update .start ()
@@ -61,6 +61,7 @@ def launch_background_upgrade(version):
6161 sys .exit (0 )
6262
6363 update .end ()
64+ logger .warning (f'ending background update { version } ' )
6465
6566
6667if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments