Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 01:27:02 +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-9@freebsd.org
Subject:   svn commit: r242028 - stable/9/sys/xen/interface/foreign
Message-ID:  <201210250127.q9P1R2Xd040679@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Thu Oct 25 01:27:01 2012
New Revision: 242028
URL: http://svn.freebsd.org/changeset/base/242028

Log:
  MFC r241833:
  	Make xen python scripts work with python3
  
  Approved by:	cperciva (implicit)

Modified:
  stable/9/sys/xen/interface/foreign/mkheader.py
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/xen/interface/foreign/mkheader.py
==============================================================================
--- stable/9/sys/xen/interface/foreign/mkheader.py	Thu Oct 25 01:27:01 2012	(r242027)
+++ stable/9/sys/xen/interface/foreign/mkheader.py	Thu Oct 25 01:27:01 2012	(r242028)
@@ -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.q9P1R2Xd040679>