From 3ea2ace6642849f2a756afc53d7e2471f7713b9d Mon Sep 17 00:00:00 2001 From: Mert Kirpici Date: Wed, 18 Nov 2020 00:22:51 +0300 Subject: bitbake: doc/conf.py: add missing import sys Due to the calls to sys.stderr.write() and sys.exit() in exception handling in case of sphinx_rtd_theme not being installed, the following exception is raised by Python due to the fact that sys module not being imported. (Bitbake rev: 5ddf0e5bee0de59d07295fc5693e20b1a0380fde) Signed-off-by: Richard Purdie --- bitbake/doc/conf.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') diff --git a/bitbake/doc/conf.py b/bitbake/doc/conf.py index 354dff36f7..fc2ee08111 100644 --- a/bitbake/doc/conf.py +++ b/bitbake/doc/conf.py @@ -14,6 +14,7 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +import sys import datetime current_version = "dev" -- cgit v1.2.3-54-g00ecf