diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:58:18 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:58:18 +0000 |
commit | b1b6e581144db477b9e8780b0f22f27f7eaddfa4 (patch) | |
tree | ac5c3b175bfc69446b1976d967db9e8eb5d38e57 /numpy/distutils/environment.py | |
parent | c8d45a0520815661353b8147ad9ceb32bf8a044b (diff) | |
download | numpy-b1b6e581144db477b9e8780b0f22f27f7eaddfa4.tar.gz |
Fix print statements in numpy.distutils.environment
Diffstat (limited to 'numpy/distutils/environment.py')
-rw-r--r-- | numpy/distutils/environment.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/environment.py b/numpy/distutils/environment.py index 7ee5dffe6..c701bce47 100644 --- a/numpy/distutils/environment.py +++ b/numpy/distutils/environment.py @@ -15,15 +15,15 @@ class EnvironmentConfig: hook, envvar, confvar, convert = conf_desc if not convert: convert = lambda x : x - print '%s.%s:' % (self._distutils_section, name) + print('%s.%s:' % (self._distutils_section, name)) v = self._hook_handler(name, hook) - print ' hook : %s' % (convert(v),) + print(' hook : %s' % (convert(v),)) if envvar: v = os.environ.get(envvar, None) - print ' environ: %s' % (convert(v),) + print(' environ: %s' % (convert(v),)) if confvar and self._conf: v = self._conf.get(confvar, (None, None))[1] - print ' config : %s' % (convert(v),) + print(' config : %s' % (convert(v),)) def dump_variables(self): for name in self._conf_keys: |