diff --git a/wscript b/wscript index 77ece35e0c..7d92fe0089 100644 --- a/wscript +++ b/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):