[pypy-svn] r49426 - pypy/dist/pypy/translator/goal
antocuni at codespeak.net
antocuni at codespeak.net
Wed Dec 5 23:46:03 CET 2007
Author: antocuni
Date: Wed Dec 5 23:46:03 2007
New Revision: 49426
Modified:
pypy/dist/pypy/translator/goal/bench-unix.py
Log:
ignore .jar files when searching for executables
Modified: pypy/dist/pypy/translator/goal/bench-unix.py
==============================================================================
--- pypy/dist/pypy/translator/goal/bench-unix.py (original)
+++ pypy/dist/pypy/translator/goal/bench-unix.py Wed Dec 5 23:46:03 2007
@@ -82,7 +82,7 @@
def get_executables(): #sorted by revision number (highest first)
exes = []
for exe in [os.path.join('.', name) for name in os.listdir('.') if name.startswith('pypy-')]:
- if os.path.isdir(exe):
+ if os.path.isdir(exe) or exe.endswith('.jar'):
continue
try:
exes.append( (exe.split('-')[2], exe) )
More information about the Pypy-commit
mailing list