Skip to content

Commit

Permalink
merge with devel branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroecker committed Feb 9, 2019
1 parent 54b31a2 commit 9f6d9d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/canmatrix/arxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,11 @@ def __init__(self, name="", ref=None):
self._array = []
def new(self, name, child):
temp = arTree(name, child)
self.array.append(temp)
self._array.append(temp)
return temp
def getChild(self, path):
for tem in self.array:
if tem.name == path:
for tem in self._array:
if tem._name == path:
return tem

def arParseTree(tag, ardict, namespace):
Expand Down Expand Up @@ -909,7 +909,7 @@ def arGetPath(ardict, path):
else:
return None
if ptr is not None:
return ptr.ref
return ptr._ref
else:
return None

Expand Down

0 comments on commit 9f6d9d2

Please sign in to comment.