diff options
author | Mert Kirpici <mert.kirpici@siemens.com> | 2020-11-18 00:22:51 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-20 10:49:36 +0000 |
commit | 5ddf0e5bee0de59d07295fc5693e20b1a0380fde (patch) | |
tree | 7e67499bb736d1d488f74f8ce0a41719db0ccdd3 /doc | |
parent | 36ee858415866a122784b05f06e2af0c92dfcafd (diff) | |
download | bitbake-5ddf0e5bee0de59d07295fc5693e20b1a0380fde.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 1 |
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" |