scons: Import print_function from future
authorSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Wed, 14 Feb 2018 18:38:38 +0000 (00:08 +0530)
committerSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Tue, 6 Mar 2018 19:45:34 +0000 (19:45 +0000)
commit5c3983215a2bd27545e8500baddc0567c26783bf
tree15de535f4851605e910fc053634a59c3bbc40100
parent93f57da4c48913552f984ccfe4b1318782a0e64a
scons: Import print_function from future

Scons on Fedora 27 imports print_function from the future[1] as a
result of which a gem5 build errors out with a syntax error.  Make all
the scons scripts that use the print statement import the print_function
from future and replace the statements with print function calls.

[1] https://github.com/SCons/scons/commit/34cf3bdb1743de9a5534bfd25998d0a01297f004

Change-Id: I67b7ef978fd7567f94d3cd9a904f8a0c1af07ffb
Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Reviewed-on: https://gem5-review.googlesource.com/8321
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
site_scons/site_init.py
site_scons/site_tools/git.py
site_scons/site_tools/mercurial.py