Source

SCons / src / engine / SCons / Tool / xgettext.py

Diff from to

File src/engine/SCons/Tool/xgettext.py

 def exists(env):
   """ Check, whether the tool exists """
   from SCons.Tool.GettextCommon import _xgettext_exists
-  return _xgettext_exists(env)
+  try:
+    return _xgettext_exists(env)
+  except:
+    return False
 #############################################################################
 
 # Local Variables: