Merge zizzer.eecs.umich.edu:/z/stever/bk/m5-head
into zizzer.eecs.umich.edu:/z/stever/bk/m5-py --HG-- extra : convert_revision : 39f30bd052c0f2b88524311d674bad7a0fae6358
This commit is contained in:
@@ -198,12 +198,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:
|
||||
|
||||
Reference in New Issue
Block a user