util,misc: Altered cpt_upgrader.py shebang to Python3
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 27 Oct 2020 23:03:06 +0000 (16:03 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 6 Nov 2020 01:40:00 +0000 (01:40 +0000)
This script is necessisary for compilation yet is dependent on Python2.
On a pure Python3 system, this results in a compilation failure.

This script works fine with Python3.

Change-Id: Ib1470a76d65455e727041686788c08f385e7251a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36715
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
util/cpt_upgrader.py

index 96dcaf6fd4f9e8687548ad9ac9883001cf5238f2..98875e33d9dbe800882f89040a2f5f5e327a3919 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (c) 2012-2013,2015-2016, 2020 ARM Limited
 # All rights reserved