From: Nathan Binkert Date: Thu, 2 Jul 2009 23:48:22 +0000 (-0700) Subject: attrdict: correct delattr X-Git-Tag: Calvin_Submission~239 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fd3987b3f342aead9606fbc04bb65e7265a7b59;p=gem5.git attrdict: correct delattr --- 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