[pypy-svn] r36453 - pypy/dist/pypy/translator/lisp
afayolle at codespeak.net
afayolle at codespeak.net
Thu Jan 11 10:49:06 CET 2007
Author: afayolle
Date: Thu Jan 11 10:49:06 2007
New Revision: 36453
Modified:
pypy/dist/pypy/translator/lisp/buildcl.py
Log:
fix sysfind usage to new semantics
Modified: pypy/dist/pypy/translator/lisp/buildcl.py
==============================================================================
--- pypy/dist/pypy/translator/lisp/buildcl.py (original)
+++ pypy/dist/pypy/translator/lisp/buildcl.py Thu Jan 11 10:49:06 2007
@@ -11,9 +11,7 @@
global_cl = None
def is_on_path(name):
- try:
- py.path.local.sysfind(name)
- except py.error.ENOENT:
+ if py.path.local.sysfind(name) is None:
return False
else:
return True
More information about the Pypy-commit
mailing list