diff options
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/ncurses.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index bfdcc5b495..f81759abf8 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -123,7 +123,7 @@ def init(server, eventHandler): | |||
123 | x = event.sofar | 123 | x = event.sofar |
124 | y = event.total | 124 | y = event.total |
125 | if os.isatty(sys.stdout.fileno()): | 125 | if os.isatty(sys.stdout.fileno()): |
126 | sys.stdout.write("\rNOTE: Handling BitBake files: %s (%04d/%04d) [%2d %%]" % ( parsespin.next(), x, y, x*100//y ) ) | 126 | sys.stdout.write("\rNOTE: Handling BitBake files: %s (%04d/%04d) [%2d %%]" % ( next(parsespin), x, y, x*100//y ) ) |
127 | sys.stdout.flush() | 127 | sys.stdout.flush() |
128 | else: | 128 | else: |
129 | if x == 1: | 129 | if x == 1: |
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index e3bca2af83..81dcb1998c 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py | |||
@@ -266,7 +266,7 @@ class NCursesUI: | |||
266 | mw.appendText("Parsing finished. %d cached, %d parsed, %d skipped, %d masked." | 266 | mw.appendText("Parsing finished. %d cached, %d parsed, %d skipped, %d masked." |
267 | % ( event.cached, event.parsed, event.skipped, event.masked )) | 267 | % ( event.cached, event.parsed, event.skipped, event.masked )) |
268 | else: | 268 | else: |
269 | mw.setStatus("Parsing: %s (%04d/%04d) [%2d %%]" % ( parsespin.next(), x, y, x*100/y ) ) | 269 | mw.setStatus("Parsing: %s (%04d/%04d) [%2d %%]" % ( next(parsespin), x, y, x*100/y ) ) |
270 | # if isinstance(event, bb.build.TaskFailed): | 270 | # if isinstance(event, bb.build.TaskFailed): |
271 | # if event.logfile: | 271 | # if event.logfile: |
272 | # if data.getVar("BBINCLUDELOGS", d): | 272 | # if data.getVar("BBINCLUDELOGS", d): |