diff options
author | Nathan Binkert <nate@binkert.org> | 2009-07-02 16:48:22 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-07-02 16:48:22 -0700 |
commit | 6fd3987b3f342aead9606fbc04bb65e7265a7b59 (patch) | |
tree | 4d0dd04b0bedb400ad2835674bf73bfddfe59ab2 /src/python/m5/util | |
parent | 5738dc340072124fca5a6380d47b33f7cdf7988c (diff) | |
download | gem5-6fd3987b3f342aead9606fbc04bb65e7265a7b59.tar.xz |
attrdict: correct delattr
Diffstat (limited to 'src/python/m5/util')
-rw-r--r-- | src/python/m5/util/attrdict.py | 2 |
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 |