Make xen python scripts work with python3
Approved by: cperciva MFC after: 3 days
This commit is contained in:
parent
1f35187f99
commit
7a1595e33b
@ -155,7 +155,7 @@
|
||||
output = re.sub("\\b(%s)_t\\b" % struct, "\\1_%s_t" % arch, output);
|
||||
|
||||
# replace: integer types
|
||||
integers = inttypes[arch].keys();
|
||||
integers = list(inttypes[arch].keys());
|
||||
integers.sort(lambda a, b: cmp(len(b),len(a)));
|
||||
for type in integers:
|
||||
output = re.sub("\\b%s\\b" % type, inttypes[arch][type], output);
|
||||
|
Loading…
Reference in New Issue
Block a user