1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

python: Remove unnecessary f‐strings

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-10-02 16:03:59 +13:00 committed by Andrew Bartlett
parent b4de22a74d
commit 1798342735
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ def dc_level_from_lp(lp):
if smb_conf_dc_functional_level is None:
# This shouldn't be possible, except if the default option
# value is not in the loadparm enum table
raise RuntimeError(f"'ad dc functional level' in smb.conf unrecognised!")
raise RuntimeError("'ad dc functional level' in smb.conf unrecognised!")
try:
return string_to_level(smb_conf_dc_functional_level)

View File

@ -128,8 +128,8 @@ class cmd_delegation_show(Command):
if not ignore:
if first:
self.outf.write(f' Principals that may delegate to this '
f'account:\n')
self.outf.write(' Principals that may delegate to this '
'account:\n')
first = False
self.outf.write(f'msDS-AllowedToActOnBehalfOfOtherIdentity: '