diff options
author | Matthieu Patou <mat@matws.net> | 2010-06-08 00:21:00 +0400 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 00:43:07 +0200 |
commit | ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60 (patch) | |
tree | 81b01926478ff65ea64b1e7a2bf27c3ffd8d9216 | |
parent | 50072e27fec0d3528e111ec566204f4e39e24ea5 (diff) | |
download | samba-ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60.tar.gz samba-ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60.tar.bz2 samba-ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60.zip |
s4 upgrade provision: Fix style in gen_dn_index
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
-rwxr-xr-x | source4/scripting/bin/upgradeprovision | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index b7582d00fe..3289af2972 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -511,14 +511,13 @@ def add_missing_object(newsam_ldb, sam_ldb, dn, names, basedn, hash, index): sam_ldb.add(delta,["relax:0"]) return True - def gen_dn_index_hash(listMissing): """Generate a hash associating the DN to its creation order :param listMissing: List of DN :return: Hash with DN as keys and creation order as values""" hash = {} - for i in range(0,len(listMissing)): + for i in range(0, len(listMissing)): hash[str(listMissing[i]).lower()] = i return hash |