From ae4fbcd6434de1b927259f5456a822f720e36434 Mon Sep 17 00:00:00 2001
From: Nathaniel Manista <nathaniel@google.com>
Date: Wed, 23 Sep 2015 16:29:44 +0000
Subject: [PATCH] Use "#!/usr/bin/env python2.7" only in utilities

---
 test/core/bad_client/gen_build_yaml.py     | 2 +-
 test/core/end2end/gen_build_yaml.py        | 2 +-
 test/core/httpcli/test_server.py           | 2 +-
 tools/buildgen/build-cleaner.py            | 2 +-
 tools/buildgen/mako_renderer.py            | 2 +-
 tools/distrib/check_copyright.py           | 2 +-
 tools/distrib/python/docgen.py             | 2 +-
 tools/distrib/python/submit.py             | 2 +-
 tools/profile_analyzer/profile_analyzer.py | 2 +-
 tools/run_tests/antagonist.py              | 2 +-
 tools/run_tests/port_server.py             | 2 +-
 tools/run_tests/run_tests.py               | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/test/core/bad_client/gen_build_yaml.py b/test/core/bad_client/gen_build_yaml.py
index 02dda10be0..3df889ecda 100755
--- a/test/core/bad_client/gen_build_yaml.py
+++ b/test/core/bad_client/gen_build_yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/test/core/end2end/gen_build_yaml.py b/test/core/end2end/gen_build_yaml.py
index 46cdb80c86..9988950a6e 100755
--- a/test/core/end2end/gen_build_yaml.py
+++ b/test/core/end2end/gen_build_yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/test/core/httpcli/test_server.py b/test/core/httpcli/test_server.py
index babfe84ddc..4aaf5e30f8 100755
--- a/test/core/httpcli/test_server.py
+++ b/test/core/httpcli/test_server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 
 """Server for httpcli_test"""
 
diff --git a/tools/buildgen/build-cleaner.py b/tools/buildgen/build-cleaner.py
index 939143c4cb..6c9c6b3749 100755
--- a/tools/buildgen/build-cleaner.py
+++ b/tools/buildgen/build-cleaner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/buildgen/mako_renderer.py b/tools/buildgen/mako_renderer.py
index abb8df2141..f1b28d352e 100755
--- a/tools/buildgen/mako_renderer.py
+++ b/tools/buildgen/mako_renderer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 1d09ed42a5..fac2a5af09 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python2.7
 
 # Copyright 2015, Google Inc.
 # All rights reserved.
diff --git a/tools/distrib/python/docgen.py b/tools/distrib/python/docgen.py
index 2acd3cc12f..4ac8f9c64a 100755
--- a/tools/distrib/python/docgen.py
+++ b/tools/distrib/python/docgen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/distrib/python/submit.py b/tools/distrib/python/submit.py
index 909ba56327..dffbefd5fe 100755
--- a/tools/distrib/python/submit.py
+++ b/tools/distrib/python/submit.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/profile_analyzer/profile_analyzer.py b/tools/profile_analyzer/profile_analyzer.py
index a78f84e5e6..e5e9a28a92 100755
--- a/tools/profile_analyzer/profile_analyzer.py
+++ b/tools/profile_analyzer/profile_analyzer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/run_tests/antagonist.py b/tools/run_tests/antagonist.py
index 111839ccf9..857addfb38 100755
--- a/tools/run_tests/antagonist.py
+++ b/tools/run_tests/antagonist.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/run_tests/port_server.py b/tools/run_tests/port_server.py
index acb6deaae6..da76230ad5 100755
--- a/tools/run_tests/port_server.py
+++ b/tools/run_tests/port_server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index f7e9805393..b384858d6c 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # Copyright 2015, Google Inc.
 # All rights reserved.
 #
-- 
GitLab