[Python-checkins] r43626 - python/trunk/Parser/asdl_c.py
jeremy.hylton
python-checkins at python.org
Tue Apr 4 14:11:13 CEST 2006
Author: jeremy.hylton
Date: Tue Apr 4 14:11:12 2006
New Revision: 43626
Modified:
python/trunk/Parser/asdl_c.py
Log:
Make path calculation platform independent
Modified: python/trunk/Parser/asdl_c.py
==============================================================================
--- python/trunk/Parser/asdl_c.py (original)
+++ python/trunk/Parser/asdl_c.py Tue Apr 4 14:11:12 2006
@@ -732,7 +732,7 @@
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")
More information about the Python-checkins
mailing list