summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2022-04-22 16:28:12 +0200
committerJean-Pierre Ledure <jp@ledure.be>2022-04-22 18:18:46 +0200
commit49dfec0a061ca4595a3c5122e92e6a5524cb768b (patch)
treeff502a33e0a7f946475088a63fb311cdff9cd034 /emfio
parentd5986d1c5f639f21204412ebe4a2a9487088b2f3 (diff)
Access2Base - (access2base.py) Don't use bare except: statement
The exception hierarchy described on page https://docs.python.org/3.5/library/exceptions.html#exception-hierarchy indicates that the default exception in bare except: statements is BaseException. This induces that the SystemExit, KeyboardInterrupt and GeneratorExit are also handled by the user script. This is a not recommended practice. Better is to use the explicit Exception built-in exception except Exception: Bug reported by Paul M on Telegram Change-Id: Ie1ae1f732ebc60a881e7d40ba8141aa704e9cd5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133328 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions