util: Migrate chargen to python3
BRANCH=master
TEST=Output is the same with python2
-#!/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:])
