diff options
Diffstat (limited to 'site_scons/site_init.py')
-rw-r--r-- | site_scons/site_init.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site_scons/site_init.py b/site_scons/site_init.py index 351f49bc0..623e26e0a 100644 --- a/site_scons/site_init.py +++ b/site_scons/site_init.py @@ -49,7 +49,7 @@ try: # 0.98, and the second will fail for 0.98.0 EnsureSConsVersion(0, 98) EnsureSConsVersion(0, 98, 1) -except SystemExit, e: +except SystemExit as e: print(""" For more details, see: http://gem5.org/Dependencies @@ -59,7 +59,7 @@ For more details, see: # pybind11 requires python 2.7 try: EnsurePythonVersion(2, 7) -except SystemExit, e: +except SystemExit as e: print (""" You can use a non-default installation of the Python interpreter by rearranging your PATH so that scons finds the non-default 'python' and |