summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/m5/config.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index e6ad5a0ba..8e7576c41 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -197,12 +197,13 @@ class Proxy(object):
raise AttributeError, \
'Parent of %s type %s not found at path %s' \
% (base.name, ptype, self._path)
- found, done = obj.find(ptype, self._path)
- if isinstance(found, Proxy):
- done = False
+ result, done = obj.find(ptype, self._path)
obj = obj.parent
- return self._mulcheck(found)
+ if isinstance(result, Proxy):
+ result = result.unproxy(obj, ptype)
+
+ return self._mulcheck(result)
def getindex(obj, index):
if index == None: