summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMert Kirpici <mert.kirpici@siemens.com>2020-11-18 00:22:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-20 10:50:18 +0000
commit3ea2ace6642849f2a756afc53d7e2471f7713b9d (patch)
tree13c5f12f4dd7e4afe17f48a61cf3e532ead8c79b
parentd8f47a68a92802fc47f297de05a0f2817963a7ee (diff)
downloadpoky-3ea2ace6642849f2a756afc53d7e2471f7713b9d.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/doc/conf.py1
1 files changed, 1 insertions, 0 deletions
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 @@
14# import sys 14# import sys
15# sys.path.insert(0, os.path.abspath('.')) 15# sys.path.insert(0, os.path.abspath('.'))
16 16
17import sys
17import datetime 18import datetime
18 19
19current_version = "dev" 20current_version = "dev"