PY3: xrange->range
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from Samba commit e2c0af6bcdf271ff75c455695c129bc18322bd5a)
This commit is contained in:

committed by
Nico Williams

parent
926b3aae82
commit
06143cc12b
@@ -96,7 +96,7 @@ for t in map_list:
|
|||||||
end = int(m.group(2), 0x10)
|
end = int(m.group(2), 0x10)
|
||||||
value = m.group(3)
|
value = m.group(3)
|
||||||
desc = m.group(4)
|
desc = m.group(4)
|
||||||
for key in xrange(start,end,1):
|
for key in range(start,end,1):
|
||||||
trans.append((key, value, desc, [t]))
|
trans.append((key, value, desc, [t]))
|
||||||
continue
|
continue
|
||||||
m = re.search('^ *([^;]+); *([^;]+); *(.*) *$', l)
|
m = re.search('^ *([^;]+); *([^;]+); *(.*) *$', l)
|
||||||
|
Reference in New Issue
Block a user