diff options
author | cookedm <cookedm@localhost> | 2007-05-25 11:20:02 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-05-25 11:20:02 +0000 |
commit | d11dbc78c0df5055a6ed57285775cc18dbe1721a (patch) | |
tree | 15623928349a868773695ff8cbdc3a5109086750 /numpy/distutils/intelccompiler.py | |
parent | 9ddd860b31ea1d4517eb3fff6ab4c280ebb14dec (diff) | |
parent | 6ac33ee4e12b78b164a05046f7e029681f0e09a3 (diff) | |
download | numpy-d11dbc78c0df5055a6ed57285775cc18dbe1721a.tar.gz |
merge from distutils-revamp branch (step 1)
- minor cleanups
- find_executable returns None when no file found (instead of having to
check with os.path.isfile)
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
-rw-r--r-- | numpy/distutils/intelccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py index f7908bbe9..ff95ca9e5 100644 --- a/numpy/distutils/intelccompiler.py +++ b/numpy/distutils/intelccompiler.py @@ -26,5 +26,5 @@ class IntelItaniumCCompiler(IntelCCompiler): # On Itanium, the Intel Compiler used to be called ecc, let's search for # it (now it's also icc, so ecc is last in the search). for cc_exe in map(find_executable,['icc','ecc']): - if os.path.isfile(cc_exe): + if cc_exe: break |