def exists(env): """ Check if the tool exists """ from SCons.Tool.GettextCommon import _msginit_exists try: return _msginit_exists(env) except: return False
def exists(env): """ Check if the tool exists """ try: return _msginit_exists(env) except StopError: return False
def exists(env): from SCons.Tool.GettextCommon \ import _xgettext_exists, _msginit_exists, \ _msgmerge_exists, _msgfmt_exists try: return _xgettext_exists(env) and _msginit_exists(env) \ and _msgmerge_exists(env) and _msgfmt_exists(env) except: return False
def exists(env): try: return (_xgettext_exists(env) and _msginit_exists(env) and _msgmerge_exists(env) and _msgfmt_exists(env)) except StopError: return False