diff --git a/Utest/makeini.py b/Utest/makeini.py index ea211d9e76ba4c010f276e8c6023abc75e8daf01..f83aa611391903f2212d723d84d6042d57ca2e41 100644 --- a/Utest/makeini.py +++ b/Utest/makeini.py @@ -147,13 +147,13 @@ def get_product(root): for node in root.iter(): tag = node.tag if tag in tags: # ignore tags that are not of interest - d = get_tag(node) - if isinstance(d, list) or isinstance(d, ndarray):# or isinstance(d, range) : + d = get_tag(node) + if isinstance(d, list) or isinstance(d, ndarray):# or isinstance(d, range) : # in case some tags have multiple values - if tag not in input_tags and len(d) > 1: + if tag not in input_tags and len(d) > 1: # ignore lists with one element (equiv to scalars) # if tag in tags: - input_tags[tag] = d + input_tags[tag] = d elif bool(set(node.attrib.keys()) & set(attributes)): # check our list of attributes values = get_attribute(node) # d, atr_tag, attr # value, atr_tag, atr