Silence pylint
Silence pylint in specific places where we're doing slightly unusual
or dodgy, but correct.
diff --git a/scripts/abi_check.py b/scripts/abi_check.py
index 5beaa88..2a90b68 100755
--- a/scripts/abi_check.py
+++ b/scripts/abi_check.py
@@ -255,7 +255,9 @@
)
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)