X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=giscanner%2Futils.py;h=1bd23fc03d547141423ab3a38c12ee763e7a3451;hb=111cdb2a94d69c6fb4d34e2677f604fcd5e88ffc;hp=3bbf33be853873025ac20c6f81b21249288daeb2;hpb=a9e1429efb898b54b34e143a0d62ccf4e33c92be;p=gnome.gobject-introspection diff --git a/giscanner/utils.py b/giscanner/utils.py index 3bbf33b..1bd23fc 100644 --- a/giscanner/utils.py +++ b/giscanner/utils.py @@ -97,7 +97,7 @@ def get_libtool_command(options): try: subprocess.check_call(['libtool', '--version'], stdout=open(os.devnull)) - except: + except (subprocess.CalledProcessError, OSError), e: # If libtool's not installed, assume we don't need it return None