diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-18 17:33:15 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-18 17:33:15 +0000 |
commit | 571f16714fe9c2c744c6563d495dd0aaa47a843b (patch) | |
tree | b6b316946dd86a21feaaaeb279a948c01eddc661 /numpy/distutils/command/build_ext.py | |
parent | a95189e65cb5aceb3c6a6a70203ba4ae9f694cfb (diff) | |
download | numpy-571f16714fe9c2c744c6563d495dd0aaa47a843b.tar.gz |
Fixed warnings on language changes.
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r-- | numpy/distutils/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 17e60e1ab..78e360ba6 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -138,7 +138,7 @@ class build_ext (old_build_ext): ext_language = 'f77' else: ext_language = 'c' # default - if l and l!=ext_language: + if l and l!=ext_language and ext.language: log.warn('resetting extension %r language from %r to %r.' % (ext.name,l,ext_language)) ext.language = ext_language # global language |