python: Enforce absolute imports for Python 3 compatibility
Change-Id: Ia88d7fd472f7aed9b97df81468211384981bf6c6 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/15983 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -51,14 +51,14 @@ import _m5.drain
|
||||
import _m5.core
|
||||
from _m5.stats import updateEvents as updateStatEvents
|
||||
|
||||
import stats
|
||||
import SimObject
|
||||
import ticks
|
||||
import objects
|
||||
from . import stats
|
||||
from . import SimObject
|
||||
from . import ticks
|
||||
from . import objects
|
||||
from m5.util.dot_writer import do_dot, do_dvfs_dot
|
||||
|
||||
from util import fatal
|
||||
from util import attrdict
|
||||
from .util import fatal
|
||||
from .util import attrdict
|
||||
|
||||
# define a MaxTick parameter, unsigned 64 bit
|
||||
MaxTick = 2**64 - 1
|
||||
|
||||
Reference in New Issue
Block a user