From df7826ee18b169695c79a80c1998d63aaa4acb73 Mon Sep 17 00:00:00 2001
From: Eric Clark <ejclark2@illinois.edu>
Date: Wed, 16 Mar 2016 00:06:00 -0500
Subject: [PATCH] Change all python shebangs to python2

---
 ext/mcpat/regression/regression.py    | 2 +-
 ext/mcpat/regression/verify_output.py | 2 +-
 ext/ply/example/classcalc/calc.py     | 2 +-
 ext/ply/example/newclasscalc/calc.py  | 2 +-
 src/unittest/genini.py                | 2 +-
 util/batch/job.py                     | 2 +-
 util/batch/send.py                    | 2 +-
 util/checkpoint-tester.py             | 2 +-
 util/compile                          | 2 +-
 util/cpt_upgrader.py                  | 2 +-
 util/decode_inst_dep_trace.py         | 2 +-
 util/decode_inst_trace.py             | 2 +-
 util/decode_packet_trace.py           | 2 +-
 util/dram_lat_mem_rd_plot.py          | 2 +-
 util/dram_sweep_plot.py               | 2 +-
 util/encode_inst_dep_trace.py         | 2 +-
 util/encode_packet_trace.py           | 2 +-
 util/find_copyrights.py               | 2 +-
 util/memtest-soak.py                  | 2 +-
 util/minorview.py                     | 2 +-
 util/o3-pipeview.py                   | 2 +-
 util/oprofile-top.py                  | 2 +-
 util/pbs/job.py                       | 2 +-
 util/pbs/send.py                      | 2 +-
 util/protolib.py                      | 2 +-
 util/qdo                              | 2 +-
 util/regress                          | 2 +-
 util/slicc                            | 2 +-
 util/sort_includes.py                 | 2 +-
 util/stats/stats.py                   | 2 +-
 util/streamline/m5stats2streamline.py | 2 +-
 util/style.py                         | 2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/ext/mcpat/regression/regression.py b/ext/mcpat/regression/regression.py
index aabfec75dc..0115a56256 100755
--- a/ext/mcpat/regression/regression.py
+++ b/ext/mcpat/regression/regression.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
 # All rights reserved.
diff --git a/ext/mcpat/regression/verify_output.py b/ext/mcpat/regression/verify_output.py
index c37663c8f2..aaa75929f6 100644
--- a/ext/mcpat/regression/verify_output.py
+++ b/ext/mcpat/regression/verify_output.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
 # All rights reserved.
diff --git a/ext/ply/example/classcalc/calc.py b/ext/ply/example/classcalc/calc.py
index bf0d065e48..f3591977b6 100755
--- a/ext/ply/example/classcalc/calc.py
+++ b/ext/ply/example/classcalc/calc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # -----------------------------------------------------------------------------
 # calc.py
diff --git a/ext/ply/example/newclasscalc/calc.py b/ext/ply/example/newclasscalc/calc.py
index a12e498b21..3461f243e9 100755
--- a/ext/ply/example/newclasscalc/calc.py
+++ b/ext/ply/example/newclasscalc/calc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # -----------------------------------------------------------------------------
 # calc.py
diff --git a/src/unittest/genini.py b/src/unittest/genini.py
index a969a6ee46..19e6442de6 100755
--- a/src/unittest/genini.py
+++ b/src/unittest/genini.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2005 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/batch/job.py b/util/batch/job.py
index 9d7ecca8c9..471b882514 100755
--- a/util/batch/job.py
+++ b/util/batch/job.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2006 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/batch/send.py b/util/batch/send.py
index e7bf1958f5..44a4f2879c 100755
--- a/util/batch/send.py
+++ b/util/batch/send.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2006 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/checkpoint-tester.py b/util/checkpoint-tester.py
index 530462758d..bec4709fcd 100755
--- a/util/checkpoint-tester.py
+++ b/util/checkpoint-tester.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 
 # Copyright (c) 2010 Advanced Micro Devices, Inc.
 # All rights reserved.
diff --git a/util/compile b/util/compile
index 627e78b741..f3040f7949 100755
--- a/util/compile
+++ b/util/compile
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2006 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/cpt_upgrader.py b/util/cpt_upgrader.py
index ffd5d701ba..5102fd5a27 100755
--- a/util/cpt_upgrader.py
+++ b/util/cpt_upgrader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2012-2013,2015 ARM Limited
 # All rights reserved
diff --git a/util/decode_inst_dep_trace.py b/util/decode_inst_dep_trace.py
index 6e4030146f..956a16133e 100755
--- a/util/decode_inst_dep_trace.py
+++ b/util/decode_inst_dep_trace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013 - 2015 ARM Limited
 # All rights reserved
diff --git a/util/decode_inst_trace.py b/util/decode_inst_trace.py
index 6915e714aa..ff5c73386b 100755
--- a/util/decode_inst_trace.py
+++ b/util/decode_inst_trace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013-2014 ARM Limited
 # All rights reserved
diff --git a/util/decode_packet_trace.py b/util/decode_packet_trace.py
index e9105753d7..2758e96aef 100755
--- a/util/decode_packet_trace.py
+++ b/util/decode_packet_trace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013-2014 ARM Limited
 # All rights reserved
diff --git a/util/dram_lat_mem_rd_plot.py b/util/dram_lat_mem_rd_plot.py
index 72e1528c31..422b14049d 100755
--- a/util/dram_lat_mem_rd_plot.py
+++ b/util/dram_lat_mem_rd_plot.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2015 ARM Limited
 # All rights reserved
diff --git a/util/dram_sweep_plot.py b/util/dram_sweep_plot.py
index f3fc32960d..5eb18b95aa 100755
--- a/util/dram_sweep_plot.py
+++ b/util/dram_sweep_plot.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2014 ARM Limited
 # All rights reserved
diff --git a/util/encode_inst_dep_trace.py b/util/encode_inst_dep_trace.py
index e54e82d701..d8d5ba1435 100755
--- a/util/encode_inst_dep_trace.py
+++ b/util/encode_inst_dep_trace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2015 ARM Limited
 # All rights reserved
diff --git a/util/encode_packet_trace.py b/util/encode_packet_trace.py
index 0734d43c8e..c4d4616648 100755
--- a/util/encode_packet_trace.py
+++ b/util/encode_packet_trace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013-2014 ARM Limited
 # All rights reserved
diff --git a/util/find_copyrights.py b/util/find_copyrights.py
index 697f4b7287..8a12bc3b18 100644
--- a/util/find_copyrights.py
+++ b/util/find_copyrights.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import os
 import re
diff --git a/util/memtest-soak.py b/util/memtest-soak.py
index 2ece09c218..b61d1c5b72 100755
--- a/util/memtest-soak.py
+++ b/util/memtest-soak.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 
 # Copyright (c) 2015 ARM Limited
 # All rights reserved
diff --git a/util/minorview.py b/util/minorview.py
index 1a6b47b011..39c6331799 100755
--- a/util/minorview.py
+++ b/util/minorview.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2013 ARM Limited
 # All rights reserved
diff --git a/util/o3-pipeview.py b/util/o3-pipeview.py
index 4d3a59a294..08fd8d334e 100755
--- a/util/o3-pipeview.py
+++ b/util/o3-pipeview.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 
 # Copyright (c) 2011 ARM Limited
 # All rights reserved
diff --git a/util/oprofile-top.py b/util/oprofile-top.py
index aea9dfadda..f644406464 100755
--- a/util/oprofile-top.py
+++ b/util/oprofile-top.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 
 # Copyright (c) 2005 The Regents of The University of Michigan
 # All rights reserved.
diff --git a/util/pbs/job.py b/util/pbs/job.py
index 0fd3b4f978..4c400310c1 100755
--- a/util/pbs/job.py
+++ b/util/pbs/job.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2005 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/pbs/send.py b/util/pbs/send.py
index 54bba931da..62ab2e5b99 100755
--- a/util/pbs/send.py
+++ b/util/pbs/send.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2005 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/protolib.py b/util/protolib.py
index e0507cdd46..47ac8768f4 100644
--- a/util/protolib.py
+++ b/util/protolib.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013 ARM Limited
 # All rights reserved
diff --git a/util/qdo b/util/qdo
index d53f3e9b18..9ec9b8f520 100755
--- a/util/qdo
+++ b/util/qdo
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 
 # Copyright (c) 2004-2005, 2007 The Regents of The University of Michigan
 # All rights reserved.
diff --git a/util/regress b/util/regress
index ceaaf739d7..3f44e2f461 100755
--- a/util/regress
+++ b/util/regress
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 # Copyright (c) 2005-2007 The Regents of The University of Michigan
 # All rights reserved.
 #
diff --git a/util/slicc b/util/slicc
index 07bd73ffaf..b4ccec0d8a 100755
--- a/util/slicc
+++ b/util/slicc
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2009 The Hewlett-Packard Development Company
 # All rights reserved.
 #
diff --git a/util/sort_includes.py b/util/sort_includes.py
index 9cfd5b2c16..f5e953d849 100644
--- a/util/sort_includes.py
+++ b/util/sort_includes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import os
 import re
diff --git a/util/stats/stats.py b/util/stats/stats.py
index ea2210685b..209108c77b 100755
--- a/util/stats/stats.py
+++ b/util/stats/stats.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2003-2004 The Regents of The University of Michigan
 # All rights reserved.
diff --git a/util/streamline/m5stats2streamline.py b/util/streamline/m5stats2streamline.py
index 96b7432f2b..a7ecc448ce 100755
--- a/util/streamline/m5stats2streamline.py
+++ b/util/streamline/m5stats2streamline.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2012, 2014 ARM Limited
 # All rights reserved
diff --git a/util/style.py b/util/style.py
index 7ee58dfa68..3383ee7705 100644
--- a/util/style.py
+++ b/util/style.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 # Copyright (c) 2014 ARM Limited
 # All rights reserved
 #
-- 
GitLab