From d7628892b04d1a1ed47d6d6c355940f9915dcd99 Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Sun, 28 Jul 2024 20:07:43 +0300 Subject: 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 Tested-by: Ilmari Lauhakangas Tested-by: Jenkins --- unotest/source/python/org/libreoffice/unotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotest/source') 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") -- cgit