summaryrefslogtreecommitdiff
path: root/src/python/m5/util
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-07-02 16:48:22 -0700
committerNathan Binkert <nate@binkert.org>2009-07-02 16:48:22 -0700
commit6fd3987b3f342aead9606fbc04bb65e7265a7b59 (patch)
tree4d0dd04b0bedb400ad2835674bf73bfddfe59ab2 /src/python/m5/util
parent5738dc340072124fca5a6380d47b33f7cdf7988c (diff)
downloadgem5-6fd3987b3f342aead9606fbc04bb65e7265a7b59.tar.xz
attrdict: correct delattr
Diffstat (limited to 'src/python/m5/util')
-rw-r--r--src/python/m5/util/attrdict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/util/attrdict.py b/src/python/m5/util/attrdict.py
index 56f67217b..0b30258b9 100644
--- a/src/python/m5/util/attrdict.py
+++ b/src/python/m5/util/attrdict.py
@@ -43,7 +43,7 @@ class attrdict(dict):
def __delattr__(self, attr):
if attr in self:
return self.__delitem__(attr)
- return super(attrdict, self).__delattr__(attr, value)
+ return super(attrdict, self).__delattr__(attr)
class multiattrdict(attrdict):
"""Wrap attrdict so that nested attribute accesses automatically create