13
0

reinstate decode() call on Popen.communicate() output, needed for python 3

git-svn-id: svn://localhost/ardour2/branches/3.0@14069 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-02-20 21:48:17 +00:00
parent ff0662ef85
commit a4fb605804

View File

@ -60,7 +60,7 @@ else:
def fetch_svn_revision (path):
cmd = "svnversion | cut -d: -f1"
output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0];
output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].decode (sys.getdefaultencoding())
return output.rstrip(os.linesep)
def fetch_gcc_version (CC):