summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-07-25 11:45:52 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-07-26 11:15:56 +0000
commit5eb2115c3d7e96629fcf9bfaa9c8ac51820a0b14 (patch)
tree1f46196f6013f37d82aad003fd6b110d0dc0cd57 /Documentation
parentc9297c67808dc273d0fad18b452fa9438fa28f5e (diff)
Documenation/conf.py: Make sure release is a string
With python3 the split method can operate on strings while check_output generates bytestrings. Change-Id: I7b455c56e8195f0ecfbe5e360ac161c176f00115 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/27630 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index b8415c6579..ff1ad9d8e2 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -20,7 +20,7 @@ author = u'the coreboot project'
# built documents.
#
# The full version, including alpha/beta/rc tags.
-release = subprocess.check_output(('git', 'describe'))
+release = subprocess.check_output(('git', 'describe')).decode("utf-8")
# The short X.Y version.
version = release.split("-")[0]