changeset e2e8ca8d9640 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=e2e8ca8d9640
description:
SimObject: Use "self" when calling the clear_child method.
diffstat:
src/python/m5/SimObject.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f4362ffd810f -r e2e8ca8d9640 src/python/m5/SimObject.py
--- a/src/python/m5/SimObject.py Mon Nov 08 12:43:38 2010 -0800
+++ b/src/python/m5/SimObject.py Tue Nov 09 10:45:02 2010 -0800
@@ -666,7 +666,7 @@
"add_child('%s'): child '%s' already has parent '%s'" % \
(name, child._name, child._parent)
if self._children.has_key(name):
- clear_child(name)
+ self.clear_child(name)
child.set_parent(self, name)
self._children[name] = child
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev