From: Thomas Monjalon Date: Wed, 18 Mar 2015 17:25:51 +0000 (+0100) Subject: doc: fix version for python 3 X-Git-Tag: spdx-start~9406 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7f7e3eb729be0c204b54c1fb11d92986abdf00e1;p=dpdk.git doc: fix version for python 3 When generating Latex for PDF, this error occurs: ! Undefined control sequence. \version ->b'2.0.0-rc2\n Decoding bytes stream into UTF-8 fixes the issue. Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 264b0cde80..7151dfdf27 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -34,7 +34,7 @@ project = 'DPDK' html_show_copyright = False -version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']) +version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') release = version master_doc = 'index'