summaryrefslogtreecommitdiff
path: root/src/python/m5/util/smartdict.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/util/smartdict.py')
-rw-r--r--src/python/m5/util/smartdict.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/python/m5/util/smartdict.py b/src/python/m5/util/smartdict.py
index b8127b149..3cfe3294e 100644
--- a/src/python/m5/util/smartdict.py
+++ b/src/python/m5/util/smartdict.py
@@ -41,9 +41,11 @@
# rather than a normal value, and (c) coerce values written to the
# dict to be strings.
+from __future__ import print_function
+from __future__ import absolute_import
-from convert import *
-from attrdict import attrdict
+from .convert import *
+from .attrdict import attrdict
class Variable(str):
"""Intelligent proxy class for SmartDict. Variable will use the