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>2021-01-04 10:55:00 +0000
commita038e58f3cd82c56102444bdc5ac76c9f1550a0d (patch)
tree46b5224efed2c1f6998bb8ee681588fe6f33ef0b
parent49f6f45ad6b1babbece0c82312cd81148906ef3a (diff)
downloadpoky-a038e58f3cd82c56102444bdc5ac76c9f1550a0d.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: a394eeec6aeb98c6395cb5da2036ce936bdaa0a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5ddf0e5bee0de59d07295fc5693e20b1a0380fde) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> 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"