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