diff options
author | Yilin Yang <kerker@google.com> | 2020-09-23 18:45:00 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-24 02:52:29 +0000 |
commit | 48509706db2ab4e3987a600ea6676f581317e5fb (patch) | |
tree | 4aff432f60c04e48a26ff3acab93c68537abb9ac /util | |
parent | edb0754545e0d0a4c0f4615671910f78c51e37d0 (diff) | |
download | chrome-ec-48509706db2ab4e3987a600ea6676f581317e5fb.tar.gz |
util: Migrate chargen to python3
BUG=chromium:1031705
BRANCH=master
TEST=Output is the same with python2
Signed-off-by: kerker <kerker@chromium.org>
Change-Id: Ice9bb885fe862b298c55c29c05d7f7eb4a2bead0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2425984
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/chargen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/chargen b/util/chargen index 42c40f13e4..9ba14d3d6a 100644 --- a/util/chargen +++ b/util/chargen @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # Copyright 2019 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -62,7 +62,7 @@ def main(args): try: chargen(modulo, max_chars) except KeyboardInterrupt: - print + print() if __name__ == '__main__': main(sys.argv[1:]) |