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/daemonize.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/daemonize.py')
| -rw-r--r-- | bitbake/lib/bb/daemonize.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/daemonize.py b/bitbake/lib/bb/daemonize.py index f01e6ec7cc..c187fcfc6c 100644 --- a/bitbake/lib/bb/daemonize.py +++ b/bitbake/lib/bb/daemonize.py | |||
| @@ -14,6 +14,8 @@ import sys | |||
| 14 | import io | 14 | import io |
| 15 | import traceback | 15 | import traceback |
| 16 | 16 | ||
| 17 | import bb | ||
| 18 | |||
| 17 | def createDaemon(function, logfile): | 19 | def createDaemon(function, logfile): |
| 18 | """ | 20 | """ |
| 19 | Detach a process from the controlling terminal and run it in the | 21 | Detach a process from the controlling terminal and run it in the |
