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:
parent
b4de22a74d
commit
1798342735
@ -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)
|
||||
|
@ -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: '
|
||||
|
Loading…
Reference in New Issue
Block a user