summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMert Kirpici <mert.kirpici@siemens.com>2020-11-18 00:22:51 +0300
committerSteve Sakoman <steve@sakoman.com>2020-12-16 03:57:28 -1000
commita394eeec6aeb98c6395cb5da2036ce936bdaa0a0 (patch)
tree7c81ed0e5a3612a309988202511801c3f6f41097
parentb164cf6790e47271a0848104a6c9507dd35c7f8f (diff)
downloadbitbake-a394eeec6aeb98c6395cb5da2036ce936bdaa0a0.tar.gz
doc/conf.py: add missing import sys2020-04.5-dunfell1.46.5
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5ddf0e5bee0de59d07295fc5693e20b1a0380fde) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--doc/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 354dff36f..fc2ee0811 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -14,6 +14,7 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
+import sys
import datetime
current_version = "dev"