diff options
author | Jason Lowe-Power <jason@lowepower.com> | 2017-02-10 10:00:18 -0500 |
---|---|---|
committer | Jason Lowe-Power <jason@lowepower.com> | 2017-02-10 10:00:18 -0500 |
commit | 87b9f0b87b748fb8db87e2ff81d74bb76ec4769b (patch) | |
tree | ace32dd80b4425dcc76f18ff94e9e5a9be014bc8 /tests/testing/units.py | |
parent | 76004f08f26763cd5c1c9053d7981734db74fbd6 (diff) | |
download | gem5-87b9f0b87b748fb8db87e2ff81d74bb76ec4769b.tar.xz |
misc: Update #!env calls for python to explicit version
In some newer Linux distributions, env python default to Python 3.0. This
patch explicitly uses "python2" instead of just "python" for all scripts
that use #!
Reported-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests/testing/units.py')
-rw-r--r-- | tests/testing/units.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testing/units.py b/tests/testing/units.py index 6214c8f14..808763fcc 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 |