diff options
author | Frazer Clews <frazerleslieclews@gmail.com> | 2020-08-24 15:51:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-25 18:14:53 +0100 |
commit | abc6f864b9c6fa9a47a218a8250e79dcfa367d4d (patch) | |
tree | e4dfa762398e1b2a8ae019e0039417be3e85d99c /bitbake/lib/bb/tinfoil.py | |
parent | ac3593f6ed8f2ffb0bb62df47220b598cc1781f6 (diff) | |
download | poky-abc6f864b9c6fa9a47a218a8250e79dcfa367d4d.tar.gz |
bitbake: lib: fix most undefined code picked up by pylint
Correctly import, and inherit functions, and variables.
Also fix some typos and remove some Python 2 code that isn't recognised.
(Bitbake rev: b0c807be5c2170c9481c1a04d4c11972135d7dc5)
Signed-off-by: Frazer Clews <frazerleslieclews@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index e19d9cff04..5755e5a346 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -732,7 +732,7 @@ class Tinfoil: | |||
732 | continue | 732 | continue |
733 | if helper.eventHandler(event): | 733 | if helper.eventHandler(event): |
734 | if isinstance(event, bb.build.TaskFailedSilent): | 734 | if isinstance(event, bb.build.TaskFailedSilent): |
735 | logger.warning("Logfile for failed setscene task is %s" % event.logfile) | 735 | self.logger.warning("Logfile for failed setscene task is %s" % event.logfile) |
736 | elif isinstance(event, bb.build.TaskFailed): | 736 | elif isinstance(event, bb.build.TaskFailed): |
737 | bb.ui.knotty.print_event_log(event, includelogs, loglines, termfilter) | 737 | bb.ui.knotty.print_event_log(event, includelogs, loglines, termfilter) |
738 | continue | 738 | continue |