Explorar o código

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>
Simon Glass %!s(int64=4) %!d(string=hai) anos
pai
achega
3c19dc8b68
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 1
      tools/dtoc/dtoc.py
  2. 1 0
      tools/dtoc/test_dtoc.py

+ 1 - 1
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

+ 1 - 0
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.
 #