diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-22 02:29:53 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-22 02:29:53 +0000 |
commit | aaedfc3e7e51f725b753ea4ee229e021dad4453a (patch) | |
tree | 47394a56a406dcf53f233ac539c929124e7212bb /sys/xen/interface | |
parent | b08b5fd4fa42604b3b99e766fb04fc6074fc3599 (diff) | |
download | FreeBSD-src-aaedfc3e7e51f725b753ea4ee229e021dad4453a.zip FreeBSD-src-aaedfc3e7e51f725b753ea4ee229e021dad4453a.tar.gz |
Make xen python scripts work with python3
Approved by: cperciva
MFC after: 3 days
Diffstat (limited to 'sys/xen/interface')
-rw-r--r-- | sys/xen/interface/foreign/mkheader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xen/interface/foreign/mkheader.py b/sys/xen/interface/foreign/mkheader.py index 3d75a7a..d833c7e 100644 --- a/sys/xen/interface/foreign/mkheader.py +++ b/sys/xen/interface/foreign/mkheader.py @@ -155,7 +155,7 @@ for struct in structs: 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); |