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:50:18 +0000 |
commit | 3ea2ace6642849f2a756afc53d7e2471f7713b9d (patch) | |
tree | 13c5f12f4dd7e4afe17f48a61cf3e532ead8c79b /bitbake/doc | |
parent | d8f47a68a92802fc47f297de05a0f2817963a7ee (diff) | |
download | poky-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>
Diffstat (limited to 'bitbake/doc')
-rw-r--r-- | bitbake/doc/conf.py | 1 |
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 | ||
17 | import sys | ||
17 | import datetime | 18 | import datetime |
18 | 19 | ||
19 | current_version = "dev" | 20 | current_version = "dev" |