diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2006-04-04 12:11:12 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2006-04-04 12:11:12 (GMT) |
commit | 76c21bdb464d45b664d7532d9f5fac919dcdecb2 (patch) | |
tree | 5008450ce89525bc21cd50f012475d0f13f511e7 | |
parent | c410d6ce289c4f3e9189afa3e2fef8b0912f398b (diff) | |
download | cpython-76c21bdb464d45b664d7532d9f5fac919dcdecb2.zip cpython-76c21bdb464d45b664d7532d9f5fac919dcdecb2.tar.gz cpython-76c21bdb464d45b664d7532d9f5fac919dcdecb2.tar.bz2 |
Make path calculation platform independent
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 5bb42ec..fdbbeaf 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -732,7 +732,7 @@ def main(srcfile): f.close() if SRC_DIR: - p = "%s/%s-ast.c" % (SRC_DIR, mod.name) + p = os.path.join(SRC_DIR, str(mod.name) + "-ast.c") else: p = "%s-ast.c" % mod.name f = open(p, "wb") |