diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-22 22:41:52 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-22 22:43:00 +0100 |
commit | 1f9441a72b1170103b903462f7385b94a6d5a06d (patch) | |
tree | 64de7a84c65fc5a8ae6a56e0e38fbbffb8c8151c /src/test/generate-sym-test.py | |
parent | 85c8eac822c15f228951ba4aef0174c8ece4d231 (diff) | |
download | systemd-1f9441a72b1170103b903462f7385b94a6d5a06d.tar.gz |
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.
Diffstat (limited to 'src/test/generate-sym-test.py')
-rwxr-xr-x | src/test/generate-sym-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/generate-sym-test.py b/src/test/generate-sym-test.py index 42a9a47e3e..955d5e9699 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('''}; |