diff options
author | Bob Foerster <robert@erafx.com> | 2010-11-26 16:15:36 -0500 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-16 10:39:27 -0700 |
commit | 588d339f2bde8ab6547bc0c1c4e7b83310b1318f (patch) | |
tree | 06fdc72fbab138d806ab72b7800d3367edad8af5 /lib/bb/event.py | |
parent | bdd7813d8eecf7b6b636322e748ca6bf69118513 (diff) | |
download | bitbake-588d339f2bde8ab6547bc0c1c4e7b83310b1318f.tar.gz |
server: fix interrupt handling for process
SIGINT is now blocked within the server context, thus allowing the UI to fully
handle all user interaction. There is no longer a need to check for
KeyboardInterrupt Exceptions anywhere within the server context.
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 3f291ec27..647d02935 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -338,9 +338,10 @@ class CacheLoadProgress(Event): class CacheLoadCompleted(Event): """Cache loading is complete""" - def __init__(self, total): + def __init__(self, total, num_entries): Event.__init__(self) self.total = total + self.num_entries = num_entries class DepTreeGenerated(Event): |