summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/ccfg-merge-debug2
-rwxr-xr-xtools/make-mime.py2
-rwxr-xr-xtools/mock-meta.py2
-rwxr-xr-xtools/pipremove2
-rwxr-xr-xtools/read-dependencies2
-rwxr-xr-xtools/read-version2
-rwxr-xr-xtools/validate-yaml.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/tools/ccfg-merge-debug b/tools/ccfg-merge-debug
index 1f08e0cb..59c573af 100755
--- a/tools/ccfg-merge-debug
+++ b/tools/ccfg-merge-debug
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
from cloudinit import handlers
from cloudinit.handlers import cloud_config as cc_part
diff --git a/tools/make-mime.py b/tools/make-mime.py
index d321479b..e0022302 100755
--- a/tools/make-mime.py
+++ b/tools/make-mime.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
import argparse
import sys
diff --git a/tools/mock-meta.py b/tools/mock-meta.py
index 724f7fc4..a58e0260 100755
--- a/tools/mock-meta.py
+++ b/tools/mock-meta.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# Provides a somewhat random, somewhat compat, somewhat useful mock version of
# http://docs.amazonwebservices.com
diff --git a/tools/pipremove b/tools/pipremove
index f8f4ff11..e1213edd 100755
--- a/tools/pipremove
+++ b/tools/pipremove
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import subprocess
import sys
diff --git a/tools/read-dependencies b/tools/read-dependencies
index b4656e69..75d08a34 100755
--- a/tools/read-dependencies
+++ b/tools/read-dependencies
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""List pip dependencies or system package dependencies for cloud-init."""
# You might be tempted to rewrite this as a shell script, but you
diff --git a/tools/read-version b/tools/read-version
index 92e9fc96..02c90643 100755
--- a/tools/read-version
+++ b/tools/read-version
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import json
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py
index a57ea847..d8bbcfcb 100755
--- a/tools/validate-yaml.py
+++ b/tools/validate-yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Try to read a YAML file and report any errors.
"""