mirror of https://github.com/ARMmbed/mbed-os.git
Culumative attirbutes always exist
parent
88a5b263f0
commit
4ef12ccdbc
|
|
@ -222,8 +222,7 @@ class Target(namedtuple("Target", "name json_data resolution_order resolution_or
|
||||||
def_idx = idx
|
def_idx = idx
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
raise AttributeError("Attribute '%s' not found in target '%s'"
|
return []
|
||||||
% (attrname, self.name))
|
|
||||||
# Get the starting value of the attribute
|
# Get the starting value of the attribute
|
||||||
starting_value = (tdata[self.resolution_order[def_idx][0]][attrname]
|
starting_value = (tdata[self.resolution_order[def_idx][0]][attrname]
|
||||||
or [])[:]
|
or [])[:]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue