summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-10-31 07:42:55 -0600
committerSimon Glass <sjg@chromium.org>2019-11-04 18:15:32 -0700
commit3c19dc8b68885f21008c30dbc8c6706d08475878 (patch)
tree5fc3bbbddb91cf7229a017fe82904c02abf2f2d9
parentf7ba5f0db290fd00659ad0e16a312fd519bb7d3d (diff)
downloadu-boot-3c19dc8b68885f21008c30dbc8c6706d08475878.tar.gz
test_dtoc: Move to use Python 3
Update this test to use Python 3 to meet the 2020 deadline. Also make it executable while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
-rwxr-xr-xtools/dtoc/dtoc.py2
-rwxr-xr-x[-rw-r--r--]tools/dtoc/test_dtoc.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index 514e0dd4a3..b3596a5918 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dtoc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2016 Google, Inc
diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py
index b915b27856..d733b70655 100644..100755
--- a/tools/dtoc/test_dtoc.py
+++ b/tools/dtoc/test_dtoc.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0+
# Copyright (c) 2012 The Chromium OS Authors.
#