1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

PY3: xrange->range

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2018-08-03 14:58:26 +01:00 committed by Andrew Bartlett
parent 899ef5d186
commit e2c0af6bcd

View File

@ -96,7 +96,7 @@ for t in map_list:
end = int(m.group(2), 0x10)
value = m.group(3)
desc = m.group(4)
for key in xrange(start,end,1):
for key in range(start,end,1):
trans.append((key, value, desc, [t]))
continue
m = re.search('^ *([^;]+); *([^;]+); *(.*) *$', l)