diff options
author | Mats Wichmann <mats@linux.com> | 2021-05-05 18:35:28 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2021-05-05 18:35:28 (GMT) |
commit | 2324eec4bddba512c144f967db2d15adb3cd4429 (patch) | |
tree | c4730e0a808d6e3c014df0e9245aa76fe585d2dd /SCons | |
parent | bc3b1423f987e9d577f1a275589aae1c88f8ae64 (diff) | |
download | SCons-2324eec4bddba512c144f967db2d15adb3cd4429.zip SCons-2324eec4bddba512c144f967db2d15adb3cd4429.tar.gz SCons-2324eec4bddba512c144f967db2d15adb3cd4429.tar.bz2 |
One more fix to the warnings changes
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons')
-rw-r--r-- | SCons/Tool/gettext_tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Tool/gettext_tool.py b/SCons/Tool/gettext_tool.py index 66505fc..055939c 100644 --- a/SCons/Tool/gettext_tool.py +++ b/SCons/Tool/gettext_tool.py @@ -56,7 +56,7 @@ def exists(env): _msgmerge_exists, _msgfmt_exists, ) - import SCons.Errors + from SCons.Tool.GettextCommon import XgettextNotFound try: return ( @@ -65,5 +65,5 @@ def exists(env): and _msgmerge_exists(env) and _msgfmt_exists(env) ) - except SCons.Errors.XgettextNotFound: + except XgettextNotFound: return False |