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:
parent
ff0662ef85
commit
a4fb605804
2
wscript
2
wscript
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user