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:46 +0100 |
commit | b0c807be5c2170c9481c1a04d4c11972135d7dc5 (patch) | |
tree | 9f5f673f8d88baa82120d0dbf7284d148fb04219 /lib/bb/tests | |
parent | 4bb71b627767297269e762b414443e15e28bfac4 (diff) | |
download | bitbake-b0c807be5c2170c9481c1a04d4c11972135d7dc5.tar.gz |
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.
Signed-off-by: Frazer Clews <frazerleslieclews@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests')
-rw-r--r-- | lib/bb/tests/data.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/tests/data.py b/lib/bb/tests/data.py index 5f195047d..1d4a64b10 100644 --- a/lib/bb/tests/data.py +++ b/lib/bb/tests/data.py @@ -12,6 +12,7 @@ import bb import bb.data import bb.parse import logging +import os class LogRecord(): def __enter__(self): |