diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-04-02 11:11:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-05 14:55:28 +0100 |
commit | 1afb2a26200d3799a795135e8b2b6f3ab74bac36 (patch) | |
tree | 25e07534aea2ee2c3bc2cea57130af40fb75365e /bitbake | |
parent | 86aefcdd4dc781afd002898ae557344e8218f28b (diff) | |
download | openembedded-core-contrib-1afb2a26200d3799a795135e8b2b6f3ab74bac36.tar.gz |
bitbake: toasterui: avoid variable name conflict
We rename a local variable in as to prevent a conflict with
a similary named function parameter.
(Bitbake rev: f4e57f794651c4894600445e843ca9d5e104cd84)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index e4d2f1f5a4..dd93d0b6c3 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -761,10 +761,10 @@ class BuildInfoHelper(object): recipe_information = self._get_recipe_information_from_taskfile(fn) recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) class MockEvent: pass - event = MockEvent() - event.taskname = taskname - event.taskhash = taskhash - task_information = self._get_task_information(event,recipe) + mevent = MockEvent() + mevent.taskname = taskname + mevent.taskhash = taskhash + task_information = self._get_task_information(mevent,recipe) task_information['start_time'] = datetime.datetime.now() task_information['outcome'] = Task.OUTCOME_NA @@ -780,10 +780,10 @@ class BuildInfoHelper(object): recipe_information = self._get_recipe_information_from_taskfile(fn) recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) class MockEvent: pass - event = MockEvent() - event.taskname = taskname - event.taskhash = taskhash - task_information = self._get_task_information(event,recipe) + mevent = MockEvent() + mevent.taskname = taskname + mevent.taskhash = taskhash + task_information = self._get_task_information(mevent,recipe) task_information['path_to_sstate_obj'] = sstatefile |