aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2019-10-06 11:44:10 -0400
committerchrome-bot <chrome-bot@chromium.org>2019-10-09 09:52:28 -0700
commit11847ae54131569c5380d77f08f839f6142a6083 (patch)
treecec508303aec081c2a146fe4cb435473b4e723a7
parent2a197341d04799f6b4f5d4c952a06add9a5feda2 (diff)
downloadtoolchain-utils-11847ae54131569c5380d77f08f839f6142a6083.tar.gz
set shebangs to python2
These scripts aren't ported to python3, so set the shebang to python2. BUG=chromium:1011676 TEST=CQ passes Change-Id: I192b50bc8b4d682fd562c75b479b68bffa9eab61 Reviewed-on: https://chromium-review.googlesource.com/1843911 Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
-rwxr-xr-xautomation/clients/android.py2
-rwxr-xr-xautomation/clients/chromeos.py2
-rwxr-xr-xautomation/clients/crosstool.py2
-rwxr-xr-xautomation/clients/dejagnu_compiler.py2
-rwxr-xr-xautomation/clients/nightly.py2
-rwxr-xr-xautomation/clients/output_test.py2
-rwxr-xr-xautomation/clients/pwd_test.py2
-rwxr-xr-xautomation/clients/report/validate_failures.py2
-rwxr-xr-xautomation/common/command_executer_test.py2
-rwxr-xr-xautomation/common/machine_test.py2
-rwxr-xr-xautomation/server/machine_manager_test.py2
-rwxr-xr-xautomation/server/monitor/manage.py2
-rwxr-xr-xautomation/server/server.py2
-rwxr-xr-xautomation/server/server_test.py2
-rwxr-xr-xcrb/crb_driver.py2
-rwxr-xr-xcwp/bartlett/server.py2
-rwxr-xr-xdebug_info_test/debug_info_test.py2
-rwxr-xr-xdejagnu/gdb_dejagnu.py2
-rwxr-xr-xdejagnu/run_dejagnu.py2
-rwxr-xr-xfdo_scripts/divide_and_merge_profiles.py2
-rwxr-xr-xfdo_scripts/divide_and_merge_profiles_test.py2
-rwxr-xr-xfdo_scripts/profile_cycler.py2
-rwxr-xr-xmem_tests/clean_data.py2
-rwxr-xr-xmem_tests/mem_groups.py2
-rwxr-xr-xmem_tests/total_mem_actual.py2
-rwxr-xr-xmem_tests/total_mem_sampled.py2
26 files changed, 26 insertions, 26 deletions
diff --git a/automation/clients/android.py b/automation/clients/android.py
index 603744b1..06e76d29 100755
--- a/automation/clients/android.py
+++ b/automation/clients/android.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
"""Client for Android nightly jobs.
diff --git a/automation/clients/chromeos.py b/automation/clients/chromeos.py
index 084f7840..572320fd 100755
--- a/automation/clients/chromeos.py
+++ b/automation/clients/chromeos.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
"""chromeos.py: Build & Test ChromeOS using custom compilers."""
diff --git a/automation/clients/crosstool.py b/automation/clients/crosstool.py
index 65720343..9ba83807 100755
--- a/automation/clients/crosstool.py
+++ b/automation/clients/crosstool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
diff --git a/automation/clients/dejagnu_compiler.py b/automation/clients/dejagnu_compiler.py
index eb923d5d..7448b87e 100755
--- a/automation/clients/dejagnu_compiler.py
+++ b/automation/clients/dejagnu_compiler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2012 Google Inc. All Rights Reserved.
"""dejagnu_compiler.py: Run dejagnu test."""
diff --git a/automation/clients/nightly.py b/automation/clients/nightly.py
index 98e2b081..d35c4eca 100755
--- a/automation/clients/nightly.py
+++ b/automation/clients/nightly.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/automation/clients/output_test.py b/automation/clients/output_test.py
index 3126f050..73c26eed 100755
--- a/automation/clients/output_test.py
+++ b/automation/clients/output_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/automation/clients/pwd_test.py b/automation/clients/pwd_test.py
index a4b28552..493444d5 100755
--- a/automation/clients/pwd_test.py
+++ b/automation/clients/pwd_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/automation/clients/report/validate_failures.py b/automation/clients/report/validate_failures.py
index 5db356d1..d8776ba5 100755
--- a/automation/clients/report/validate_failures.py
+++ b/automation/clients/report/validate_failures.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# Script to compare testsuite failures against a list of known-to-fail
# tests.
diff --git a/automation/common/command_executer_test.py b/automation/common/command_executer_test.py
index 4aa245f0..2caaa146 100755
--- a/automation/common/command_executer_test.py
+++ b/automation/common/command_executer_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
diff --git a/automation/common/machine_test.py b/automation/common/machine_test.py
index c9c200a9..f66299f5 100755
--- a/automation/common/machine_test.py
+++ b/automation/common/machine_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""Machine manager unittest.
diff --git a/automation/server/machine_manager_test.py b/automation/server/machine_manager_test.py
index 67fdcc2b..2fa5bb4b 100755
--- a/automation/server/machine_manager_test.py
+++ b/automation/server/machine_manager_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/automation/server/monitor/manage.py b/automation/server/monitor/manage.py
index 57deb5c2..59f6e216 100755
--- a/automation/server/monitor/manage.py
+++ b/automation/server/monitor/manage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
diff --git a/automation/server/server.py b/automation/server/server.py
index f02a1d0f..c8f22521 100755
--- a/automation/server/server.py
+++ b/automation/server/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/automation/server/server_test.py b/automation/server/server_test.py
index bcf1b9f5..131ebb3b 100755
--- a/automation/server/server_test.py
+++ b/automation/server/server_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""Machine manager unittest.
diff --git a/crb/crb_driver.py b/crb/crb_driver.py
index 8c767fb8..c6403462 100755
--- a/crb/crb_driver.py
+++ b/crb/crb_driver.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/cwp/bartlett/server.py b/cwp/bartlett/server.py
index f6b35361..8fb7d61e 100755
--- a/cwp/bartlett/server.py
+++ b/cwp/bartlett/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# Copyright 2012 Google Inc. All Rights Reserved.
# Author: mrdmnd@ (Matt Redmond)
# Based off of code in //depot/google3/experimental/mobile_gwp
diff --git a/debug_info_test/debug_info_test.py b/debug_info_test/debug_info_test.py
index f5afd644..4839e69c 100755
--- a/debug_info_test/debug_info_test.py
+++ b/debug_info_test/debug_info_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
diff --git a/dejagnu/gdb_dejagnu.py b/dejagnu/gdb_dejagnu.py
index eb298e6a..91fa51fd 100755
--- a/dejagnu/gdb_dejagnu.py
+++ b/dejagnu/gdb_dejagnu.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python2
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
diff --git a/dejagnu/run_dejagnu.py b/dejagnu/run_dejagnu.py
index b4cbc8f4..7b6e6fa3 100755
--- a/dejagnu/run_dejagnu.py
+++ b/dejagnu/run_dejagnu.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""Tool script for auto dejagnu."""
diff --git a/fdo_scripts/divide_and_merge_profiles.py b/fdo_scripts/divide_and_merge_profiles.py
index 99155852..5108aa6f 100755
--- a/fdo_scripts/divide_and_merge_profiles.py
+++ b/fdo_scripts/divide_and_merge_profiles.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
"""Script to divide and merge profiles."""
diff --git a/fdo_scripts/divide_and_merge_profiles_test.py b/fdo_scripts/divide_and_merge_profiles_test.py
index 27141df3..2bfb5cf1 100755
--- a/fdo_scripts/divide_and_merge_profiles_test.py
+++ b/fdo_scripts/divide_and_merge_profiles_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
diff --git a/fdo_scripts/profile_cycler.py b/fdo_scripts/profile_cycler.py
index 7715612f..176f2d4a 100755
--- a/fdo_scripts/profile_cycler.py
+++ b/fdo_scripts/profile_cycler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2011 Google Inc. All Rights Reserved.
"""Script to profile a page cycler, and get it back to the host."""
diff --git a/mem_tests/clean_data.py b/mem_tests/clean_data.py
index f9a11e75..1433ba41 100755
--- a/mem_tests/clean_data.py
+++ b/mem_tests/clean_data.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python2
"""Cleans output from other scripts to eliminate duplicates.
When frequently sampling data, we see that records occasionally will contain
diff --git a/mem_tests/mem_groups.py b/mem_tests/mem_groups.py
index e2fbf271..5d593872 100755
--- a/mem_tests/mem_groups.py
+++ b/mem_tests/mem_groups.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python2
"""Groups memory by allocation sizes.
Takes a log entry and sorts sorts everything into groups based on what size
diff --git a/mem_tests/total_mem_actual.py b/mem_tests/total_mem_actual.py
index 2d53bebe..d2a0cedf 100755
--- a/mem_tests/total_mem_actual.py
+++ b/mem_tests/total_mem_actual.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python2
"""Parses the actual memory usage from TCMalloc.
This goes through logs that have the actual allocated memory (not sampled) in
diff --git a/mem_tests/total_mem_sampled.py b/mem_tests/total_mem_sampled.py
index 77dd6817..32aa527c 100755
--- a/mem_tests/total_mem_sampled.py
+++ b/mem_tests/total_mem_sampled.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/python2
"""Parses the total amount of sampled memory from log files.
This file outputs the total amount of memory that has been sampled by tcmalloc.