mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
KCC: remove another needless loop variable
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
39da46e72c
commit
b4e4f8ae3b
@ -913,7 +913,8 @@ class KCC(object):
|
||||
n_rep.load_fsmo_roles(self.samdb)
|
||||
|
||||
# Loop thru the existing repsFrom tupples (if any)
|
||||
for i, t_repsFrom in enumerate(n_rep.rep_repsFrom):
|
||||
# XXX This is a list and could contain duplicates (multiple load_repsFrom calls)
|
||||
for t_repsFrom in n_rep.rep_repsFrom:
|
||||
|
||||
# for each tuple t in n!repsFrom, let s be the nTDSDSA
|
||||
# object such that s!objectGUID = t.uuidDsa
|
||||
|
Loading…
Reference in New Issue
Block a user