projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5738dc3
)
attrdict: correct delattr
author
Nathan Binkert
<nate@binkert.org>
Thu, 2 Jul 2009 23:48:22 +0000
(16:48 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Thu, 2 Jul 2009 23:48:22 +0000
(16:48 -0700)
src/python/m5/util/attrdict.py
patch
|
blob
|
history
diff --git
a/src/python/m5/util/attrdict.py
b/src/python/m5/util/attrdict.py
index 56f67217b688c5bab445aa5b985be7a9c691e011..0b30258b9c23e938a3f1a54caaf68adaf64cac70 100644
(file)
--- 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