commit | d0a19bd06e86079841565d78b6fb451089077afd | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@chromium.org> | Fri Nov 22 19:14:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 22 23:30:38 2019 |
tree | b14247f9819a4aa9b335d9e3571ba26b86f26d3d | |
parent | 4c4b3ea6dc29effb74a1442d0ba1b321e7601c39 [diff] |
CHROMIUM: config: Make kernelconfig script python3 happy Because python3 is 50% better than python2. Specifically note: * You can't just index the result of a dictionary's "values()" function in python3. I guess it was assumed that everyone who was doing that was probably doing something wrong. In this case the script actually wasn't. It just needed any arbitrary value to seed its iteration. ...but we can write the code differently. * Print changed. See <https://goto.google.com/cros-python3-guide>. BUG=chromium:1027679 TEST=./chromeos/scripts/kernelconfig Change-Id: I189eb7e9e339f469daf51cc325b3857b4ac85869 Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1931403