From bef55c5c82a057c35be03799013b959bc8f85464 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 27 Feb 2020 12:08:11 +0100 Subject: do not use unversioned Python binary We said 'bye' to Python 2 already. So let us use Python 3 for all scripts. Unversioned Python binary should be avoided as it may be Python2 or Python3 (depends on distribution). Implements: blueprint drop-py2-support Change-Id: Ifd7912a3debf3ee4ddd8f3e1a4c5870848d4d688 --- tools/validate-all-file.py | 2 +- tools/validate-yaml.py | 2 +- tools/version-check.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index e44641291..c04fb4000 100755 --- a/tools/validate-all-file.py +++ b/tools/validate-all-file.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py index 6df84ff07..400a3821b 100755 --- a/tools/validate-yaml.py +++ b/tools/validate-yaml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tools/version-check.py b/tools/version-check.py index 7f4204439..522ef1a31 100755 --- a/tools/version-check.py +++ b/tools/version-check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. -- cgit v1.2.3