From fe3e8084959a6910f4c8d075c5c03e40d0269527 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Mon, 25 Feb 2019 11:55:02 +0000 Subject: configs: Use absolute import paths Use absoluate import paths to be Python 3 compatible. This also imports absolute_import from __future__ to ensure that Python 2.7 behaves the same way as Python 3. Change-Id: Ica06ed95814e9cd3e768b3e1785075e36f6e56d0 Signed-off-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16708 Reviewed-by: Jason Lowe-Power --- configs/splash2/cluster.py | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/splash2/cluster.py') diff --git a/configs/splash2/cluster.py b/configs/splash2/cluster.py index 753fb0f70..04195cc99 100644 --- a/configs/splash2/cluster.py +++ b/configs/splash2/cluster.py @@ -31,6 +31,7 @@ # "m5 test.py" from __future__ import print_function +from __future__ import absolute_import import os import optparse -- cgit v1.2.3