Update to Python 3 print function

This is mostly just a run of `2to3-3.5 -f print -w -n .`, with
`__future__` imports added to all files (as the style guide [0]
encourages them in every module, not just those that use `print`). Also
did a few manual clean-ups.

[0]: https://github.com/google/styleguide/blob/gh-pages/pyguide.md#from-__future__-imports

TEST=none
BUG=none

Change-Id: If98431bf2ff4f5661ebe35617ebba2e40b9e1164
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mttools/+/2013549
Tested-by: Harry Cutts <hcutts@chromium.org>
Auto-Submit: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Commit-Queue: Harry Cutts <hcutts@chromium.org>
21 files changed
tree: 8d667d11401d7df270837dacd6f58f21517f9bca
  1. mtbringup/
  2. mtedit/
  3. mtlib/
  4. mtreplay/
  5. mtstat/
  6. platforms/
  7. .gitignore
  8. __init__.py
  9. common.mk
  10. Makefile
  11. OWNERS
  12. PRESUBMIT.cfg