diff options
author | Tom Tromey <tromey@adacore.com> | 2024-03-19 11:11:05 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-04-02 10:58:37 -0600 |
commit | e2238b2e2061cffd2b7ae2894747205a56d2f775 (patch) | |
tree | 3e99acfdba6187b2ebc5ef8a05b9fd09926acbe9 /gdb/testsuite/gdb.python/py-disasm.py | |
parent | 34b0776fd7385fcf1108981307d6d625f3565779 (diff) | |
download | binutils-e2238b2e2061cffd2b7ae2894747205a56d2f775.zip binutils-e2238b2e2061cffd2b7ae2894747205a56d2f775.tar.gz binutils-e2238b2e2061cffd2b7ae2894747205a56d2f775.tar.bz2 |
Do not use bare "except"
flake8 warns about a bare "except". The docs point out that this will
also catch KeyboardInterrupt and SystemExit exceptions, which is
normally undesirable. Using "except Exception" catches everything
reasonable, so this patch makes this change.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-disasm.py')
0 files changed, 0 insertions, 0 deletions