mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
PEP8: improve formatting around various operators
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Douglas Bagnall
parent
0632085142
commit
aa5db3da2b
@ -282,8 +282,8 @@ def dn_sort(x, y):
|
||||
tab1 = p.split(str(x))
|
||||
tab2 = p.split(str(y))
|
||||
minimum = min(len(tab1), len(tab2))
|
||||
len1 = len(tab1) -1
|
||||
len2 = len(tab2) -1
|
||||
len1 = len(tab1) - 1
|
||||
len2 = len(tab2) - 1
|
||||
# Note: python range go up to upper limit but do not include it
|
||||
for i in range(0, minimum):
|
||||
ret = cmp_fn(tab1[len1 - i], tab2[len2 - i])
|
||||
|
Reference in New Issue
Block a user