2
0
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:
Jerome Carretero 2012-05-29 09:09:08 -04:00
parent 34bb10d935
commit d00883c172

View File

@ -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')
###########################################################################################