From 2324eec4bddba512c144f967db2d15adb3cd4429 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Wed, 5 May 2021 12:35:28 -0600 Subject: One more fix to the warnings changes Signed-off-by: Mats Wichmann --- SCons/Tool/gettext_tool.py | 4 ++-- 1 file 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 -- cgit v0.12