mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
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.
This commit is contained in:
parent
85c8eac822
commit
1f9441a72b
@ -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('''};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user