diff options
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
| -rw-r--r-- | bitbake/lib/bb/ui/ncurses.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index da3690e5ca..0eb1cf013b 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py | |||
| @@ -136,7 +136,7 @@ class NCursesUI: | |||
| 136 | """Thread Activity Window""" | 136 | """Thread Activity Window""" |
| 137 | def __init__( self, x, y, width, height ): | 137 | def __init__( self, x, y, width, height ): |
| 138 | NCursesUI.DecoratedWindow.__init__( self, "Thread Activity", x, y, width, height ) | 138 | NCursesUI.DecoratedWindow.__init__( self, "Thread Activity", x, y, width, height ) |
| 139 | 139 | ||
| 140 | def setStatus( self, thread, text ): | 140 | def setStatus( self, thread, text ): |
| 141 | line = "%02d: %s" % ( thread, text ) | 141 | line = "%02d: %s" % ( thread, text ) |
| 142 | width = self.dimensions[WIDTH] | 142 | width = self.dimensions[WIDTH] |
| @@ -225,7 +225,7 @@ class NCursesUI: | |||
| 225 | 225 | ||
| 226 | helper = uihelper.BBUIHelper() | 226 | helper = uihelper.BBUIHelper() |
| 227 | shutdown = 0 | 227 | shutdown = 0 |
| 228 | 228 | ||
| 229 | try: | 229 | try: |
| 230 | cmdline = server.runCommand(["getCmdLineAction"]) | 230 | cmdline = server.runCommand(["getCmdLineAction"]) |
| 231 | if not cmdline: | 231 | if not cmdline: |
| @@ -263,7 +263,7 @@ class NCursesUI: | |||
| 263 | y = event.total | 263 | y = event.total |
| 264 | if x == y: | 264 | if x == y: |
| 265 | mw.setStatus("Idle") | 265 | mw.setStatus("Idle") |
| 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 %%]" % ( parsespin.next(), x, y, x*100/y ) ) |
| @@ -332,4 +332,3 @@ def init(server, eventHandler): | |||
| 332 | except: | 332 | except: |
| 333 | import traceback | 333 | import traceback |
| 334 | traceback.print_exc() | 334 | traceback.print_exc() |
| 335 | |||
