diff options
author | cookedm <cookedm@localhost> | 2007-05-25 14:47:42 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-05-25 14:47:42 +0000 |
commit | 56e555c305f7d58f0885cac44cd4a7949f5b954d (patch) | |
tree | 7c21ec4dd0db41c38413c65c935a2acc512435eb /numpy/distutils/exec_command.py | |
parent | f7b399a6f9a299d82dc9490bf81683b0d1693427 (diff) | |
download | numpy-56e555c305f7d58f0885cac44cd4a7949f5b954d.tar.gz |
Add a numpy.distutils.log.good function, which when WARN messages would be
logged, logs a "nice" anti-warn version. Use this for finding executables
to report when we do actually find one.
Diffstat (limited to 'numpy/distutils/exec_command.py')
-rw-r--r-- | numpy/distutils/exec_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py index e00753b9a..029dadecf 100644 --- a/numpy/distutils/exec_command.py +++ b/numpy/distutils/exec_command.py @@ -159,7 +159,7 @@ def find_executable(exe, path=None): if not os.path.islink(f_ext): f_ext = realpath(f_ext) if os.path.isfile(f_ext) and os.access(f_ext, os.X_OK): - log.debug('Found executable %s' % f_ext) + log.good('Found executable %s' % f_ext) return f_ext log.warn('Could not locate executable %s' % orig_exe) |