aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-03-19 11:11:05 -0600
committerTom Tromey <tromey@adacore.com>2024-04-02 10:58:37 -0600
commite2238b2e2061cffd2b7ae2894747205a56d2f775 (patch)
tree3e99acfdba6187b2ebc5ef8a05b9fd09926acbe9 /gdb/testsuite/gdb.python
parent34b0776fd7385fcf1108981307d6d625f3565779 (diff)
downloadbinutils-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')
0 files changed, 0 insertions, 0 deletions