Skip to content

Commit

Permalink
comment the Progress behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Dec 1, 2014
1 parent a19e76e commit 3c3305d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/packages/src/modules/PackageCallbacks.rb
Expand Up @@ -2777,7 +2777,8 @@ def ProcessStart(task, stages, help)
opened = true
end

# set 100% + number of stages as the max value
# set 100 + number of stages as the max value,
# Progress module counts stages as extra steps
Progress.New(task, "", 100 + stages.size, stages, [], help)
Progress.Title(task)
@last_stage = 0
Expand Down

0 comments on commit 3c3305d

Please sign in to comment.