summaryrefslogtreecommitdiff
path: root/unotest/source
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-07-28 20:07:43 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-07-29 10:34:57 +0200
commitd7628892b04d1a1ed47d6d6c355940f9915dcd99 (patch)
tree1deee8688c3f7a36190474263529683bd0f3878a /unotest/source
parentac41bc3c908c815cf9725b6316d0537d43401ddb (diff)
testtools, uitest, unotest: fix issues found by Ruff linter
Change-Id: I4a848b0f1f114d1262b5242786e088eb50a33cef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171145 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'unotest/source')
-rw-r--r--unotest/source/python/org/libreoffice/unotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py
index 743e1781de84..e3865fdc0b8e 100644
--- a/unotest/source/python/org/libreoffice/unotest.py
+++ b/unotest/source/python/org/libreoffice/unotest.py
@@ -265,7 +265,7 @@ def retryInvoke(connection, test):
connection.postTest()
except KeyboardInterrupt:
raise # Ctrl+C should work
- except:
+ except Exception:
print("retryInvoke: caught exception")
raise Exception("FAILED retryInvoke")