aboutsummaryrefslogtreecommitdiff
path: root/hw/phb4.c
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2017-06-07 18:12:21 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-07 19:20:20 +1000
commitb0809b89ecdf430c9f6e0272fb4cf0dc01a4989d (patch)
treebf34919384b8a93af44534ae5c74c31623b217eb /hw/phb4.c
parent55ccb8a4a9fe146d8e522dc9e1716a49fe1c7303 (diff)
downloadskiboot-b0809b89ecdf430c9f6e0272fb4cf0dc01a4989d.zip
skiboot-b0809b89ecdf430c9f6e0272fb4cf0dc01a4989d.tar.gz
skiboot-b0809b89ecdf430c9f6e0272fb4cf0dc01a4989d.tar.bz2
doc: Fix output of version string when using Sphinx with Python 3
Our Sphinx configuration gets the current skiboot version by using the subprocess module to run make_version.sh. In Python 2, this returns a value of type str, but in Python 3, this returns bytes instead. Decode those bytes into a string so we see "skiboot 5.6.blah" rather than "skiboot b'5.6.blah\n'" in the documentation output. Tested using Sphinx with both Python 2 and 3. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb4.c')
0 files changed, 0 insertions, 0 deletions