Files
odfstudio/wizards/source/scriptforge/python
Jean-Pierre Ledure acb597ce0a ScriptForge Fix tdf#173228 Python SyntaxWarning
As from Python 3.14, a 'return' statement
inside a 'finally clause' raises a
   SyntaxWarning
warning, however without execution stop.

Occurrence in ScriptForgeHelper.py is
now fixed.

The 'finally' clause had the intent to never
interrupt the execution flow in the preceding
'try' clause.
It is replaced by
   except Exception:
      pass
which does the same job without warning.

No effect on existing user scripts.
No effect on user documentation.

Change-Id: I79aaea4a87726f297c856cfd40c9f7063c6c7abd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210244
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2026-08-29 10:18:16 +02:00
..
2026-05-17 19:26:13 +02:00