diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-02-27 12:08:11 +0100 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-03-16 08:25:51 +0000 |
| commit | bef55c5c82a057c35be03799013b959bc8f85464 (patch) | |
| tree | 70b9371967526fdb81311c0f68d85944a2a797cd /tools | |
| parent | 5912f2c16e68b4b581cb3b2d7e974e438b9333f5 (diff) | |
| download | kolla-bef55c5c82a057c35be03799013b959bc8f85464.tar.gz kolla-bef55c5c82a057c35be03799013b959bc8f85464.zip | |
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
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-all-file.py | 2 | ||||
| -rwxr-xr-x | tools/validate-yaml.py | 2 | ||||
| -rwxr-xr-x | tools/version-check.py | 2 |
3 files changed, 3 insertions, 3 deletions
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. |
