summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 0e181102c6..3f96bcab32 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -370,11 +370,12 @@ class BuildStarted(BuildBase, OperationStarted):
370 370
371class BuildCompleted(BuildBase, OperationCompleted): 371class BuildCompleted(BuildBase, OperationCompleted):
372 """bbmake build run completed""" 372 """bbmake build run completed"""
373 def __init__(self, total, n, p, failures = 0): 373 def __init__(self, total, n, p, failures=0, interrupted=0):
374 if not failures: 374 if not failures:
375 OperationCompleted.__init__(self, total, "Building Succeeded") 375 OperationCompleted.__init__(self, total, "Building Succeeded")
376 else: 376 else:
377 OperationCompleted.__init__(self, total, "Building Failed") 377 OperationCompleted.__init__(self, total, "Building Failed")
378 self._interrupted = interrupted
378 BuildBase.__init__(self, n, p, failures) 379 BuildBase.__init__(self, n, p, failures)
379 380
380class DiskFull(Event): 381class DiskFull(Event):