Silence pylint

Silence pylint in specific places where we're doing slightly unusual
or dodgy, but correct.
This commit is contained in:
Gilles Peskine 2019-02-25 21:39:42 +01:00
parent 6fc5215831
commit afd19dd9b6
4 changed files with 9 additions and 4 deletions

View file

@ -255,7 +255,9 @@ def run_main():
)
return_code = abi_check.check_for_abi_changes()
sys.exit(return_code)
except Exception:
except Exception: # pylint: disable=broad-except
# Print the backtrace and exit explicitly so as to exit with
# status 2, not 1.
traceback.print_exc()
sys.exit(2)