aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorBob Foerster <robert@erafx.com>2010-11-26 16:15:36 -0500
committerChris Larson <chris_larson@mentor.com>2010-12-16 10:39:27 -0700
commit588d339f2bde8ab6547bc0c1c4e7b83310b1318f (patch)
tree06fdc72fbab138d806ab72b7800d3367edad8af5 /lib/bb/event.py
parentbdd7813d8eecf7b6b636322e748ca6bf69118513 (diff)
downloadbitbake-588d339f2bde8ab6547bc0c1c4e7b83310b1318f.tar.gz
bitbake-588d339f2bde8ab6547bc0c1c4e7b83310b1318f.tar.bz2
bitbake-588d339f2bde8ab6547bc0c1c4e7b83310b1318f.zip
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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 3f291ec2..647d0293 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):