From: Frantisek Sumsal Date: Sun, 30 Oct 2022 19:43:35 +0000 (+0100) Subject: test-network: drop a couple of useless f-strings X-Git-Tag: v252~10^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e43776595caff288f0f0dcb2d9411006d8c7576c;p=thirdparty%2Fsystemd.git test-network: drop a couple of useless f-strings --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 136b5e3f9be..cf9d2bf1521 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -906,11 +906,11 @@ class Utilities(): def check_netlabel(self, interface, address, label='system_u:object_r:root_t:s0'): if not shutil.which('selinuxenabled'): - print(f'## Checking NetLabel skipped: selinuxenabled command not found.') + print('## Checking NetLabel skipped: selinuxenabled command not found.') elif call_quiet('selinuxenabled') != 0: - print(f'## Checking NetLabel skipped: SELinux disabled.') + print('## Checking NetLabel skipped: SELinux disabled.') elif not shutil.which('netlabelctl'): # not packaged by all distros - print(f'## Checking NetLabel skipped: netlabelctl command not found.') + print('## Checking NetLabel skipped: netlabelctl command not found.') else: output = check_output('netlabelctl unlbl list') print(output)