diff options
author | Yu Feng <rainwoodman@gmail.com> | 2019-03-02 15:00:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-02 15:00:48 -0800 |
commit | 46d0cda5ca3a10f6e3be56803124adc678f10622 (patch) | |
tree | 08eec756225012e4d934ad30cdd8c631e59d3308 /numpy/distutils/fcompiler | |
parent | 479f86d799e8374dd14ff5ee1af54d6b662a816e (diff) | |
download | numpy-46d0cda5ca3a10f6e3be56803124adc678f10622.tar.gz |
Update environment.py
Diffstat (limited to 'numpy/distutils/fcompiler')
-rw-r--r-- | numpy/distutils/fcompiler/environment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/environment.py b/numpy/distutils/fcompiler/environment.py index 3a45934da..73a5e98e1 100644 --- a/numpy/distutils/fcompiler/environment.py +++ b/numpy/distutils/fcompiler/environment.py @@ -51,7 +51,8 @@ class EnvironmentConfig(object): def _get_var(self, name, conf_desc): hook, envvar, confvar, convert, append = conf_desc - if convert is None: convert = lambda x: x + if convert is None: + convert = lambda x: x var = self._hook_handler(name, hook) if envvar is not None: envvar_contents = os.environ.get(envvar) |