Package: vmdebootstrap / 1.11-2

doc-encoding.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
Description: Fix sphinx encoding problem during doc build
--- vmdebootstrap-1.11.orig/doc/conf.py
+++ vmdebootstrap-1.11/doc/conf.py
@@ -55,7 +55,7 @@ copyright = '2015 Neil Williams'
 # built documents.
 #
 # The short X.Y version.
-version = subprocess.Popen(['python', 'setup.py', '-V'], cwd=r'..', stdout=subprocess.PIPE).stdout.read().rstrip()
+version = subprocess.Popen(['python', 'setup.py', '-V'], cwd=r'..', stdout=subprocess.PIPE).stdout.read().rstrip().decode()
 # The full version, including alpha/beta/rc tags.
 release = version