mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
86aefcdd4d
commit
1afb2a2620
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user