Silence pylint
Silence pylint in specific places where we're doing slightly unusual or dodgy, but correct.
This commit is contained in:
parent
6fc5215831
commit
afd19dd9b6
4 changed files with 9 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue