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)
downloadpoky-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 29b0a53e98..24ff341045 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -123,11 +123,11 @@ class Command:
123 123
124 def finishAsyncCommand(self, msg=None, code=None): 124 def finishAsyncCommand(self, msg=None, code=None):
125 if msg or msg == "": 125 if msg or msg == "":
126 bb.event.fire(CommandFailed(msg), self.cooker.event_data) 126 bb.event.fire(CommandFailed(msg), self.cooker.expanded_data)
127 elif code: 127 elif code:
128 bb.event.fire(CommandExit(code), self.cooker.event_data) 128 bb.event.fire(CommandExit(code), self.cooker.expanded_data)
129 else: 129 else:
130 bb.event.fire(CommandCompleted(), self.cooker.event_data) 130 bb.event.fire(CommandCompleted(), self.cooker.expanded_data)
131 self.currentAsyncCommand = None 131 self.currentAsyncCommand = None
132 self.cooker.finishcommand() 132 self.cooker.finishcommand()
133 133