mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
899ef5d186
commit
e2c0af6bcd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user