summaryrefslogtreecommitdiff
path: root/numpy/distutils/system_info.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-12 20:05:10 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-12 20:05:10 +0000
commit275ac5fec0f89c354aeefbd554445fb5e608bfe8 (patch)
treee123eabe28c3fa4753cd7cf4d49c15276619d56e /numpy/distutils/system_info.py
parentac34fb932e37901c3b25d0e6c9759d14e9dd0974 (diff)
downloadnumpy-275ac5fec0f89c354aeefbd554445fb5e608bfe8.tar.gz
Fix logging when 'None' is used to disable environment-variable
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r--numpy/distutils/system_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 55ef39e8b..056697df7 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -436,8 +436,8 @@ class system_info:
if env_var and os.environ.has_key(env_var):
d = os.environ[env_var]
if d=='None':
- log.info('Disabled',self.__class__.__name__,'(%s is None)' \
- % (self.dir_env_var))
+ log.info('Disabled %s: %s',self.__class__.__name__,'(%s is None)' \
+ % (env_var,))
return []
if os.path.isfile(d):
dirs = [os.path.dirname(d)] + dirs