summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/util/smartdict.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/util/smartdict.py b/src/python/m5/util/smartdict.py
index d85dbd517..61e48ddba 100644
--- a/src/python/m5/util/smartdict.py
+++ b/src/python/m5/util/smartdict.py
@@ -43,6 +43,7 @@
from convert import *
+from attrdict import attrdict
class Variable(str):
"""Intelligent proxy class for SmartDict. Variable will use the
@@ -109,7 +110,7 @@ class UndefinedVariable(object):
def __nonzero__(self):
return False
-class SmartDict(dict):
+class SmartDict(attrdict):
"""Dictionary class that holds strings, but intelligently converts
those strings to other types depending on their usage"""