commit | 2f7b2e16f588dde75a0c9c28175f16b8cb9e11dc | [log] [tgz] |
---|---|---|
author | Mike Frysinger <[email protected]> | Tue Jul 09 22:31:50 2019 |
committer | chrome-bot <[email protected]> | Sun Jul 28 16:44:43 2019 |
tree | 6fdc81bee0326e66662115d9bda50159bf41db9f | |
parent | 01c852297739f592e0f17524a2ccc206140e0cb8 [diff] |
rework python scripts to support Python 2 & 3 We run the unittests in both python versions to maintain coverage, and we run things through `cros lint` during upload to help prevent regressions. We also switch the default to Python 3 to keep people on their toes. BUG=chromium:982465 TEST=running unittests against python2 & python3 pass TEST=`./fmap.py bin/example.bin` through python2 & python3 works Change-Id: I79f0ce59664ea42dfa18e45ccde0dffc0c18227d Reviewed-on: https://chromium-review.googlesource.com/1693888 Tested-by: Mike Frysinger <[email protected]> Commit-Ready: Mike Frysinger <[email protected]> Legacy-Commit-Queue: Commit Bot <[email protected]> Reviewed-by: Duncan Laurie <[email protected]>