From 9f6d9d21068d6cefa194f7bc7bac00165b3b6687 Mon Sep 17 00:00:00 2001 From: ebroecker Date: Sat, 9 Feb 2019 21:49:38 +0100 Subject: [PATCH] merge with devel branch --- src/canmatrix/arxml.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/canmatrix/arxml.py b/src/canmatrix/arxml.py index 33ce6dab..7915ba10 100644 --- a/src/canmatrix/arxml.py +++ b/src/canmatrix/arxml.py @@ -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): @@ -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