1
0
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:
Douglas Bagnall 2015-03-27 18:10:34 +13:00 committed by Andrew Bartlett
parent 39da46e72c
commit b4e4f8ae3b

View File

@ -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