commit | 0edf1572db9bcf02da311e741accd8d800580a43 | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@chromium.org> | Tue Jan 21 23:42:10 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 22 09:27:12 2020 |
tree | 8d667d11401d7df270837dacd6f58f21517f9bca | |
parent | 5d51be06ab30e90c9e1272a86462e718de916695 [diff] |
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>