mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
Stop using f-strings in generate-sym-test.py
This partially reverts 7857b6e838
.
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…
Reference in New Issue
Block a user