From b1b6e581144db477b9e8780b0f22f27f7eaddfa4 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Thu, 3 Dec 2009 15:58:18 +0000 Subject: Fix print statements in numpy.distutils.environment --- numpy/distutils/environment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/distutils/environment.py') 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: -- cgit v1.2.1