mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
s4/scripting: fix % len(res) was in the wrong place
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 5 05:54:11 UTC 2023 on atb-devel-224
This commit is contained in:
parent
3eccaf5d1e
commit
5fcb675a8b
@ -314,7 +314,7 @@ def sanitychecks(samdb, names):
|
||||
print("Found %d domain controllers. For the moment "
|
||||
"upgradeprovision is not able to handle an upgrade on a "
|
||||
"domain with more than one DC. Please demote the other "
|
||||
"DC(s) before upgrading") % len(res)
|
||||
"DC(s) before upgrading" % len(res))
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user