other compatible boards in this buildroot.
"""
+from __future__ import print_function
+
import collections
import glob
import optparse
by_compatibility[compat_id].add(other_board)
if compatible_boards is None:
- print >> sys.stderr, "Missing portageq wrapper for %s" % flags.board
+ print('Missing portageq wrapper for %s' % flags.board, file=sys.stderr)
sys.exit(1)
- print "# Generated by cros_generate_local_binhosts."
- print GenerateBinhostLine(flags.build_root, compatible_boards)
+ print('# Generated by cros_generate_local_binhosts.')
+ print(GenerateBinhostLine(flags.build_root, compatible_boards))