diff options
author | Daniel Moody <dmoody256@gmail.com> | 2022-05-24 04:11:50 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2022-05-24 04:11:50 (GMT) |
commit | c02b362bcb03bb74bfba8fb26636397f357a8cfa (patch) | |
tree | d72f67eba57d2387dd7650de2dcc305c40a95c67 /SCons/Action.py | |
parent | 2e80fc1c2796a705b9049aba686de8e35bb878cd (diff) | |
download | SCons-c02b362bcb03bb74bfba8fb26636397f357a8cfa.zip SCons-c02b362bcb03bb74bfba8fb26636397f357a8cfa.tar.gz SCons-c02b362bcb03bb74bfba8fb26636397f357a8cfa.tar.bz2 |
fix sider complaint
Diffstat (limited to 'SCons/Action.py')
-rw-r--r-- | SCons/Action.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SCons/Action.py b/SCons/Action.py index 4dd0543..7de8454 100644 --- a/SCons/Action.py +++ b/SCons/Action.py @@ -108,6 +108,7 @@ import subprocess from subprocess import DEVNULL import inspect from collections import OrderedDict +from typing import Type import SCons.Debug from SCons.Debug import logInstanceCreation @@ -762,7 +763,7 @@ def _resolve_shell_env(env, target, source): ENV = ENV.copy() try: shell_gens = iter(shell_gen) - except: + except TypeError: raise SCons.Errors.UserError("SHELL_ENV_GENERATORS must be iteratable.") else: for generator in shell_gens: |