mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-07 17:05:17 +01:00
scripting: print successful completion of a task even with a progress bar, and with a better grammar
This commit is contained in:
parent
34bb10d935
commit
d00883c172
@ -230,8 +230,7 @@ def run_commands():
|
||||
while Options.commands:
|
||||
cmd_name = Options.commands.pop(0)
|
||||
ctx = run_command(cmd_name)
|
||||
if not Options.options.progress_bar:
|
||||
Logs.info('%r finished successfully %s' % (cmd_name, str(ctx.log_timer)))
|
||||
Logs.info('%r finished successfully (%s)' % (cmd_name, str(ctx.log_timer)))
|
||||
run_command('shutdown')
|
||||
|
||||
###########################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user