]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test_dtoc: Move to use Python 3
authorSimon Glass <sjg@chromium.org>
Thu, 31 Oct 2019 13:42:55 +0000 (07:42 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Nov 2019 01:15:32 +0000 (18:15 -0700)
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>
tools/dtoc/dtoc.py
tools/dtoc/test_dtoc.py [changed mode: 0644->0755]

index 514e0dd4a34b683c53c40898539583044ddaf5ff..b3596a5918fe2a1f420064a25eec01da5a63f684 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 # SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2016 Google, Inc
old mode 100644 (file)
new mode 100755 (executable)
index b915b27..d733b70
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 # SPDX-License-Identifier: GPL-2.0+
 # Copyright (c) 2012 The Chromium OS Authors.
 #