Commit a6463e3b authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Fix monitor_progress for multiple commands - was resetting to 0 on each

new command
parent d98d4230
......@@ -948,11 +948,11 @@ class Process(object):
fmt='{:.0f}',
transform=Progress.percent) as prog:
for cmd in cmds:
nlines = 0 if total else None
proc = Process(cmd, *args, **kwargs)
nlines = 0 if total else None
for cmd in cmds:
proc = Process(cmd, *args, **kwargs)
prog.update(nlines, total)
while proc.returncode is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment