mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
parent
15c48eeaf9
commit
27dcd8c5b6
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ FPMATH="Default"
|
|||
FPMATH_FLAGS="-mfpmath=sse -msse -msse2"
|
||||
|
||||
def check_output(cmd):
|
||||
return (subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).decode("utf-8").rstrip('\r\n')
|
||||
return (subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).decode(sys.stdout.encoding).rstrip('\r\n')
|
||||
|
||||
def git_hash():
|
||||
try:
|
||||
|
|
|
@ -96,7 +96,7 @@ if sys.version < '3':
|
|||
return s
|
||||
else:
|
||||
def _to_pystr(s):
|
||||
return s.decode('utf-8')
|
||||
return s.decode(sys.stdout.encoding)
|
||||
|
||||
def init(PATH):
|
||||
global _lib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue