From 6fd3987b3f342aead9606fbc04bb65e7265a7b59 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 2 Jul 2009 16:48:22 -0700 Subject: [PATCH] attrdict: correct delattr --- src/python/m5/util/attrdict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2