From 67c7b4f8bd0f81dc62de3d92c1d0d91c59f3e9624bd2f6b3773e299f5a22f70f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 9 Aug 2023 05:56:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1111 --- python34-no-f-strings.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python34-no-f-strings.patch b/python34-no-f-strings.patch index e6cab58..00830ee 100644 --- a/python34-no-f-strings.patch +++ b/python34-no-f-strings.patch @@ -38,10 +38,10 @@ if o.ext == "desktop": value = encode_desktop_string(value) - outfile.write(f"{OUTKEY}[{locale}]={value}\n") -+ outfile.write(u"""{}[{}]={}\n""".format(OUTKEY, locale, value)) ++ outfile.write("{}[{}]={}\n".format(OUTKEY, locale, value)) else: - outfile.write(f"\t[{locale}]{OUTKEY}={value}\n") -+ outfile.write(u"""\t[{}]{}={}\n""".format(locale, OUTKEY, value)) ++ outfile.write("\t[{}]{}={}\n".format(locale, OUTKEY, value)) template_file.close()