From 1a3c1c9203e1a1452314954f1cfd771e5c1ce89b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 21 Jan 2015 16:07:19 +0000 Subject: 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 --- lib/bb/command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/bb/command.py') 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() -- cgit 1.2.3-korg