[pypy-svn] r4975 - pypy/trunk/src/pypy/translator/tool
hpk at codespeak.net
hpk at codespeak.net
Sat Jun 5 16:09:01 CEST 2004
Author: hpk
Date: Sat Jun 5 16:09:01 2004
New Revision: 4975
Modified:
pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py
Log:
fix the loop that looks for a free filename ...
Modified: pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py (original)
+++ pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py Sat Jun 5 16:09:01 2004
@@ -17,6 +17,7 @@
i = 0
while pyxfile.check():
pyxfile = pyxfile.new(basename='%s%d.pyx' % (name, i))
+ i+=1
pyxfile.write(string)
if debug: print "made pyxfile", pyxfile
make_c_from_pyxfile(pyxfile)
More information about the Pypy-commit
mailing list