def exists(env): """ Check, whether the tool exists """ from SCons.Tool.GettextCommon import _xgettext_exists try: return _xgettext_exists(env) except: 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): """ Check, whether the tool exists """ try: return _xgettext_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