diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-30 08:25:13 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-11-30 09:07:03 -0700 |
commit | 618480f7739f6ae846f67a57bee5a78efb37839d (patch) | |
tree | eeb195355319baef1982c9a32321c7c9739b4a33 /lib/bb/event.py | |
parent | d5a3c78bd0dace12e8038fd19dfd8938b29fc72d (diff) | |
download | bitbake-618480f7739f6ae846f67a57bee5a78efb37839d.tar.gz |
cooker: no cached in progressbar and add ETA
Rather than updating the progress bar based on the recipe being processed
(whether cached or parsed), consider only parsed recipes. This reduces the
instability in progress rate introduced by the cached entries, and allows the
ETA to be resurrected and be a bit more useful.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 1fdec84b9..c0f183c8f 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -298,11 +298,9 @@ class MultipleProviders(Event): class ParseStarted(Event): """Recipe parsing for the runqueue has begun""" - def __init__(self, total, skipped, masked): + def __init__(self, total): Event.__init__(self) self.total = total - self.skipped = skipped - self.masked = masked class ParseCompleted(Event): """Recipe parsing for the runqueue has completed""" |