3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-22 12:22:05 +00:00

replace all non-portable filepath slashes with os.path.join

This commit is contained in:
Andrew Dutcher 2016-09-14 14:19:10 -07:00
parent 02783d0bfb
commit 02217d048b
3 changed files with 12 additions and 13 deletions

View file

@ -98,7 +98,7 @@ def mk_z3consts_py_internal(api_files, output_dir):
openbrace_pat = re.compile("{ *")
closebrace_pat = re.compile("}.*;")
z3consts = open(os.path.join(output_dir, 'z3/z3consts.py'), 'w')
z3consts = open(os.path.join(output_dir, 'z3', 'z3consts.py'), 'w')
z3consts_output_path = z3consts.name
z3consts.write('# Automatically generated file\n\n')
for api_file in api_files: