Date: Thu, 25 Oct 2012 01:27:01 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r242027 - stable/8/sys/xen/interface/foreign Message-ID: <201210250127.q9P1R1ra040675@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Thu Oct 25 01:27:01 2012 New Revision: 242027 URL: http://svn.freebsd.org/changeset/base/242027 Log: MFC r241833: Make xen python scripts work with python3 Approved by: cperciva (implicit) Modified: stable/8/sys/xen/interface/foreign/mkheader.py Directory Properties: stable/8/sys/ (props changed) stable/8/sys/xen/ (props changed) Modified: stable/8/sys/xen/interface/foreign/mkheader.py ============================================================================== --- stable/8/sys/xen/interface/foreign/mkheader.py Thu Oct 25 01:23:42 2012 (r242026) +++ stable/8/sys/xen/interface/foreign/mkheader.py Thu Oct 25 01:27:01 2012 (r242027) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210250127.q9P1R1ra040675>