scons: Switch from the print statement to the print function.
authorGabe Black <gabeblack@google.com>
Tue, 6 Mar 2018 06:05:47 +0000 (22:05 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 6 Mar 2018 23:39:01 +0000 (23:39 +0000)
commit0bb50e6745b35c785c4d8051eb43f6bc419fb924
tree97dfd086d6e4b3f4252aec459091ff6dad19f2b6
parent10e5646dbbe46aa317ec568cb2a58968ca867575
scons: Switch from the print statement to the print function.

Starting with version 3, scons imposes using the print function instead
of the print statement in code it processes. To get things building
again, this change moves all python code within gem5 to use the
function version. Another change by another author separately made this
same change to the site_tools and site_init.py files.

Change-Id: I2de7dc3b1be756baad6f60574c47c8b7e80ea3b0
Reviewed-on: https://gem5-review.googlesource.com/8761
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
33 files changed:
SConstruct
ext/libelf/SConscript
ext/systemc/SConscript
ext/systemc/src/sysc/kernel/SConscript.sc
ext/systemc/src/sysc/qt/SConscript.sc
src/SConscript
src/arch/hsail/gen.py
src/arch/isa_parser.py
src/arch/micro_asm.py
src/arch/micro_asm_test.py
src/cpu/BaseCPU.py
src/cpu/minor/MinorCPU.py
src/cpu/o3/O3CPU.py
src/cpu/simple/BaseSimpleCPU.py
src/mem/ruby/SConscript
src/mem/slicc/main.py
src/mem/slicc/util.py
src/python/m5/SimObject.py
src/python/m5/debug.py
src/python/m5/event.py
src/python/m5/main.py
src/python/m5/params.py
src/python/m5/simulate.py
src/python/m5/ticks.py
src/python/m5/util/__init__.py
src/python/m5/util/attrdict.py
src/python/m5/util/code_formatter.py
src/python/m5/util/jobfile.py
src/python/m5/util/multidict.py
src/python/m5/util/sorteddict.py
src/python/m5/util/terminal.py
src/unittest/genini.py
tests/SConscript