From: Zbigniew Jędrzejewski-Szmek Date: Mon, 22 Feb 2021 21:41:52 +0000 (+0100) Subject: Stop using f-strings in generate-sym-test.py X-Git-Tag: v248-rc1~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f9441a72b1170103b903462f7385b94a6d5a06d;p=thirdparty%2Fsystemd.git Stop using f-strings in generate-sym-test.py This partially reverts 7857b6e8383f5debab9544ef3abb15a27830fafa. Debian 9 has python3.5 which does not have f-strings yet. Partially fixes #18708. --- diff --git a/src/test/generate-sym-test.py b/src/test/generate-sym-test.py index 42a9a47e3e9..955d5e96997 100755 --- a/src/test/generate-sym-test.py +++ b/src/test/generate-sym-test.py @@ -18,9 +18,9 @@ for line in open(sys.argv[1]): if match: s = match.group(1) if s == 'sd_bus_object_vtable_format': - print(f' &{s},') + print(' &{},'.format(s)) else: - print(f' {s},') + print(' {},'.format(s)) print('''};