diff options
Diffstat (limited to 'bitbake/lib')
-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): | |||
761 | recipe_information = self._get_recipe_information_from_taskfile(fn) | 761 | recipe_information = self._get_recipe_information_from_taskfile(fn) |
762 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) | 762 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) |
763 | class MockEvent: pass | 763 | class MockEvent: pass |
764 | event = MockEvent() | 764 | mevent = MockEvent() |
765 | event.taskname = taskname | 765 | mevent.taskname = taskname |
766 | event.taskhash = taskhash | 766 | mevent.taskhash = taskhash |
767 | task_information = self._get_task_information(event,recipe) | 767 | task_information = self._get_task_information(mevent,recipe) |
768 | 768 | ||
769 | task_information['start_time'] = datetime.datetime.now() | 769 | task_information['start_time'] = datetime.datetime.now() |
770 | task_information['outcome'] = Task.OUTCOME_NA | 770 | task_information['outcome'] = Task.OUTCOME_NA |
@@ -780,10 +780,10 @@ class BuildInfoHelper(object): | |||
780 | recipe_information = self._get_recipe_information_from_taskfile(fn) | 780 | recipe_information = self._get_recipe_information_from_taskfile(fn) |
781 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) | 781 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_information) |
782 | class MockEvent: pass | 782 | class MockEvent: pass |
783 | event = MockEvent() | 783 | mevent = MockEvent() |
784 | event.taskname = taskname | 784 | mevent.taskname = taskname |
785 | event.taskhash = taskhash | 785 | mevent.taskhash = taskhash |
786 | task_information = self._get_task_information(event,recipe) | 786 | task_information = self._get_task_information(mevent,recipe) |
787 | 787 | ||
788 | task_information['path_to_sstate_obj'] = sstatefile | 788 | task_information['path_to_sstate_obj'] = sstatefile |
789 | 789 | ||