diff options
author | Robert Kern <robert.kern@gmail.com> | 2006-04-16 10:23:18 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2006-04-16 10:23:18 +0000 |
commit | b01e909b7aec0a34f5f2aa1af105fa20361fb660 (patch) | |
tree | 8c4c4d3812314ff87b1cbd1ff1e9825ea525bc36 /numpy/distutils/fcompiler/ibm.py | |
parent | 6c736d2b7a297076283b8aac5c2766cda4022b28 (diff) | |
download | numpy-b01e909b7aec0a34f5f2aa1af105fa20361fb660.tar.gz |
Actually return the appropriate version if found.
Diffstat (limited to 'numpy/distutils/fcompiler/ibm.py')
-rw-r--r-- | numpy/distutils/fcompiler/ibm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/ibm.py b/numpy/distutils/fcompiler/ibm.py index 6a216191d..b9babaab7 100644 --- a/numpy/distutils/fcompiler/ibm.py +++ b/numpy/distutils/fcompiler/ibm.py @@ -31,7 +31,7 @@ class IbmFCompiler(FCompiler): l.sort() l.reverse() l = [d for d in l if os.path.isfile(os.path.join(xlf_dir,d,'xlf.cfg'))] - if not l: + if l: from distutils.version import LooseVersion self.version = version = LooseVersion(l[0]) return version |