Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
installer
Commits
a6463e3b
Commit
a6463e3b
authored
Aug 12, 2021
by
Paul McCarthy
🚵
Browse files
RF: Fix monitor_progress for multiple commands - was resetting to 0 on each
new command
parent
d98d4230
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
a6463e3b
...
@@ -948,11 +948,11 @@ class Process(object):
...
@@ -948,11 +948,11 @@ class Process(object):
fmt
=
'{:.0f}'
,
fmt
=
'{:.0f}'
,
transform
=
Progress
.
percent
)
as
prog
:
transform
=
Progress
.
percent
)
as
prog
:
for
cmd
in
cmds
:
nlines
=
0
if
total
else
None
proc
=
Process
(
cmd
,
*
args
,
**
kwargs
)
for
cmd
in
cmds
:
nlines
=
0
if
total
else
None
proc
=
Process
(
cmd
,
*
args
,
**
kwargs
)
prog
.
update
(
nlines
,
total
)
prog
.
update
(
nlines
,
total
)
while
proc
.
returncode
is
None
:
while
proc
.
returncode
is
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment