3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

fix for string decoding in build scripts

This commit is contained in:
Christoph M. Wintersteiger 2015-11-14 15:42:49 +00:00
parent 1aafff0395
commit 05eb78ccac
2 changed files with 8 additions and 6 deletions

View file

@ -98,9 +98,10 @@ else:
def _to_pystr(s):
if s != None:
enc = sys.stdout.encoding
if enc != None: s.decode(enc)
else: s
else: ""
if enc != None: return s.decode(enc)
else: return s
else:
return ""
def init(PATH):
global _lib