aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-21 16:07:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 11:33:46 +0000
commit1a3c1c9203e1a1452314954f1cfd771e5c1ce89b (patch)
tree6f309b1660c2de3e45656f2346c7b9a09b63309c /lib/bb/command.py
parent8f166e1a0f3574ae7d1e917a8bb403b87bad15bf (diff)
downloadbitbake-1a3c1c9203e1a1452314954f1cfd771e5c1ce89b.tar.gz
cooker: Rename event_data -> expanded_data
event_data would be better named expanded_data, then we can widen its scope to other places in cooker where we need to access an expanded data store. We certainly don't want multiple expanded data stores. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 29b0a53e9..24ff34104 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -123,11 +123,11 @@ class Command:
def finishAsyncCommand(self, msg=None, code=None):
if msg or msg == "":
- bb.event.fire(CommandFailed(msg), self.cooker.event_data)
+ bb.event.fire(CommandFailed(msg), self.cooker.expanded_data)
elif code:
- bb.event.fire(CommandExit(code), self.cooker.event_data)
+ bb.event.fire(CommandExit(code), self.cooker.expanded_data)
else:
- bb.event.fire(CommandCompleted(), self.cooker.event_data)
+ bb.event.fire(CommandCompleted(), self.cooker.expanded_data)
self.currentAsyncCommand = None
self.cooker.finishcommand()