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/tests/testing/__init__.py b/tests/testing/__init__.py index e7c83da100..1bc471108f 100644 --- a/tests/testing/__init__.py +++ b/tests/testing/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/helpers.py b/tests/testing/helpers.py index 757167a4b0..e2f3fbe7de 100755 --- a/tests/testing/helpers.py +++ b/tests/testing/helpers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/results.py b/tests/testing/results.py index 1df14bc4f5..387362a75f 100644 --- a/tests/testing/results.py +++ b/tests/testing/results.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/tests.py b/tests/testing/tests.py index 6f887ff804..c9a2a06b20 100644 --- a/tests/testing/tests.py +++ b/tests/testing/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/units.py b/tests/testing/units.py index 6214c8f143..808763fcc2 100644 --- a/tests/testing/units.py +++ b/tests/testing/units.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/tests.py b/tests/tests.py index 85b194c562..136c879aa4 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # 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 97d3441630..34a0d8bbce 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/git-pre-commit.py b/util/git-pre-commit.py index 276e21fc5b..1b93069da5 100755 --- a/util/git-pre-commit.py +++ b/util/git-pre-commit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/hgstyle.py b/util/hgstyle.py index ecdec4b0fa..da0cdeb90e 100755 --- a/util/hgstyle.py +++ b/util/hgstyle.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/maint/git-patch-to-hg-patch b/util/maint/git-patch-to-hg-patch index 6819cfcceb..1b9e05d095 100755 --- a/util/maint/git-patch-to-hg-patch +++ b/util/maint/git-patch-to-hg-patch @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # This file originated from the moz-git-tools repo on GitHub # (https://github.com/mozilla/moz-git-tools), which contains the 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 5cc576b5d5..da71e65758 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/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 c65649e79c..816d042dcc 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 15a99c8950..1dd7af34e9 100755 --- a/util/style.py +++ b/util/style.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/__init__.py b/util/style/__init__.py index e7c83da100..1bc471108f 100644 --- a/util/style/__init__.py +++ b/util/style/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/repo.py b/util/style/repo.py index adcbdc95f1..7e3b444c69 100644 --- a/util/style/repo.py +++ b/util/style/repo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/sort_includes.py b/util/style/sort_includes.py index a35b084680..d1a25ee6bb 100644 --- a/util/style/sort_includes.py +++ b/util/style/sort_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2014-2015 ARM Limited # All rights reserved diff --git a/util/style/style.py b/util/style/style.py index 9f3f0d0f0b..317caa395f 100644 --- a/util/style/style.py +++ b/util/style/style.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 # Copyright (c) 2014, 2016 ARM Limited # All rights reserved # diff --git a/util/style/verifiers.py b/util/style/verifiers.py index 1be4536017..89247dc4fe 100644 --- a/util/style/verifiers.py +++ b/util/style/verifiers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright (c) 2014, 2016 ARM Limited # All rights reserved