python: Use __name__ instead of func_name for Py3 compat
authorAndreas Sandberg <andreas.sandberg@arm.com>
Sat, 26 Jan 2019 10:52:26 +0000 (10:52 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 20 Feb 2019 18:27:10 +0000 (18:27 +0000)
commit33ba44709b74add1a1aff16c09c707b57c97acb3
tree9df5feac3e0a7e0ff442e02f3eb5b37593717270
parent4fa56fe2f8618f5fbc47ec21ac033d5e7ac2790d
python: Use __name__ instead of func_name for Py3 compat

Change-Id: I62a9685b4bce7e9012bc65309fcafe26135fde6d
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15997
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/python/m5/SimObject.py