[pypy-svn] r59634 - pypy/build/benchmem

fijal at codespeak.net fijal at codespeak.net
Sat Nov 1 19:38:49 CET 2008


Author: fijal
Date: Sat Nov  1 19:38:47 2008
New Revision: 59634

Modified:
   pypy/build/benchmem/runbench.py
Log:
a fix when path is not there


Modified: pypy/build/benchmem/runbench.py
==============================================================================
--- pypy/build/benchmem/runbench.py	(original)
+++ pypy/build/benchmem/runbench.py	Sat Nov  1 19:38:47 2008
@@ -532,7 +532,7 @@
         p = py.path.local(executable)
         if not p.check():
             p = py.path.local.sysfind(executable)
-            if not p.check():
+            if not p or not p.check():
                 raise SystemExit("could not find %r"% (executable))
         l.append(executable)
     return l



More information about the Pypy-commit mailing list