diff options
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 8e5249bb62..0c0cdf1fe7 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -31,7 +31,7 @@ from bb.ui import uihelper | |||
31 | 31 | ||
32 | logger = logging.getLogger("BitBake") | 32 | logger = logging.getLogger("BitBake") |
33 | widgets = ['Parsing recipes: ', progressbar.Percentage(), ' ', | 33 | widgets = ['Parsing recipes: ', progressbar.Percentage(), ' ', |
34 | progressbar.Bar()] | 34 | progressbar.Bar(), ' ', progressbar.ETA()] |
35 | 35 | ||
36 | class BBLogFormatter(logging.Formatter): | 36 | class BBLogFormatter(logging.Formatter): |
37 | """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is""" | 37 | """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is""" |
@@ -147,7 +147,7 @@ def init(server, eventHandler): | |||
147 | continue | 147 | continue |
148 | if isinstance(event, bb.event.ParseCompleted): | 148 | if isinstance(event, bb.event.ParseCompleted): |
149 | if interactive: | 149 | if interactive: |
150 | pbar.update(event.total) | 150 | pbar.update(pbar.maxval) |
151 | else: | 151 | else: |
152 | sys.stdout.write("done.\n") | 152 | sys.stdout.write("done.\n") |
153 | sys.stdout.flush() | 153 | sys.stdout.flush() |