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 <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16708 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
@@ -26,8 +26,10 @@
|
||||
#
|
||||
# Authors: Jason Power
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import
|
||||
|
||||
from BaseTopology import BaseTopology
|
||||
from .BaseTopology import BaseTopology
|
||||
|
||||
class Cluster(BaseTopology):
|
||||
""" A cluster is a group of nodes which are all one hop from eachother
|
||||
|
||||
Reference in New Issue
Block a user