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 | |
parent | c8d45a0520815661353b8147ad9ceb32bf8a044b (diff) | |
download | numpy-b1b6e581144db477b9e8780b0f22f27f7eaddfa4.tar.gz |
Fix print statements in numpy.distutils.environment
-rw-r--r-- | numpy/distutils/environment.py | 8 | ||||
-rw-r--r-- | numpy/setup.py | 2 |
2 files changed, 5 insertions, 5 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: diff --git a/numpy/setup.py b/numpy/setup.py index 66c5706cb..c55c85a25 100644 --- a/numpy/setup.py +++ b/numpy/setup.py @@ -24,4 +24,4 @@ def configuration(parent_package='',top_path=None): return config if __name__ == '__main__': - print 'This is the wrong setup.py file to run' + print('This is the wrong setup.py file to run') |