From a73c2281e6193f7972563040da31d4b27b6a3a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Tue, 28 Apr 2020 18:34:00 +0200 Subject: [PATCH] Use python3 in tools scripts The scripts in tools should be updated to use python3 by default. Support for python2 has been dropped. Closes-Bug: #1875685 Change-Id: Ia13a8a43d767d93263d5c717f273184bf78d23c9 --- tools/make_ceph_disk_list.py | 2 +- tools/process-templates.py | 2 +- tools/render-ansible-tasks.py | 2 +- tools/roles-data-generate.py | 2 +- tools/yaml-diff.py | 2 +- tools/yaml-nic-config-2-script.py | 2 +- tools/yaml-validate.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/make_ceph_disk_list.py b/tools/make_ceph_disk_list.py index 7a22d9df27..0b6e954f46 100755 --- a/tools/make_ceph_disk_list.py +++ b/tools/make_ceph_disk_list.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. You may obtain # a copy of the License at diff --git a/tools/process-templates.py b/tools/process-templates.py index 296dcb6650..0bb8780259 100755 --- a/tools/process-templates.py +++ b/tools/process-templates.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. You may obtain # a copy of the License at diff --git a/tools/render-ansible-tasks.py b/tools/render-ansible-tasks.py index 1c3d0c3660..474a7e7873 100755 --- a/tools/render-ansible-tasks.py +++ b/tools/render-ansible-tasks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2019 Red Hat, Inc. # diff --git a/tools/roles-data-generate.py b/tools/roles-data-generate.py index dcb1fc7e56..5f20f9c8f8 100755 --- a/tools/roles-data-generate.py +++ b/tools/roles-data-generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017 Red Hat, Inc. # diff --git a/tools/yaml-diff.py b/tools/yaml-diff.py index 5acbf48105..7896ea9918 100755 --- a/tools/yaml-diff.py +++ b/tools/yaml-diff.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. You may obtain # a copy of the License at diff --git a/tools/yaml-nic-config-2-script.py b/tools/yaml-nic-config-2-script.py index f70bdaa5cd..9a74487e20 100755 --- a/tools/yaml-nic-config-2-script.py +++ b/tools/yaml-nic-config-2-script.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. You may obtain # a copy of the License at diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py index 7c43a85692..4b835eba62 100755 --- a/tools/yaml-validate.py +++ b/tools/yaml-validate.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. You may obtain # a copy of the License at