[pypy-svn] r59240 - pypy/branch/cbuild-refactor/pypy/translator

fijal at codespeak.net fijal at codespeak.net
Sun Oct 19 18:38:36 CEST 2008


Author: fijal
Date: Sun Oct 19 18:38:36 2008
New Revision: 59240

Modified:
   pypy/branch/cbuild-refactor/pypy/translator/driver.py
Log:
Pass around py.path.local, not str


Modified: pypy/branch/cbuild-refactor/pypy/translator/driver.py
==============================================================================
--- pypy/branch/cbuild-refactor/pypy/translator/driver.py	(original)
+++ pypy/branch/cbuild-refactor/pypy/translator/driver.py	Sun Oct 19 18:38:36 2008
@@ -859,5 +859,5 @@
 
 def mkexename(name):
     if sys.platform == 'win32':
-        name = os.path.normpath(str(name) + '.exe')
+        name = name.new(ext='exe')
     return name



More information about the Pypy-commit mailing list