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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"

Reply via email to