From 5eb2115c3d7e96629fcf9bfaa9c8ac51820a0b14 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 25 Jul 2018 11:45:52 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/27630 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- Documentation/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]