summaryrefslogtreecommitdiffstats
path: root/bitbake/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:54 +0000
commit4eb3ffe5714b9beacc6a5f5373549aa640095983 (patch)
tree860d870a4dcd3952c3965331f9287bf338cd62e3 /bitbake/lib/bb/command.py
parent793f2f2e69cf3e4ef57a13f07538226b082cf868 (diff)
downloadast2050-yocto-poky-4eb3ffe5714b9beacc6a5f5373549aa640095983.zip
ast2050-yocto-poky-4eb3ffe5714b9beacc6a5f5373549aa640095983.tar.gz
bitbake: 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. (Bitbake rev: 1a3c1c9203e1a1452314954f1cfd771e5c1ce89b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 29b0a53..24ff341 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/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()
OpenPOWER on IntegriCloud