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
|
||||
break
|
||||
else:
|
||||
raise AttributeError("Attribute '%s' not found in target '%s'"
|
||||
% (attrname, self.name))
|
||||
return []
|
||||
# Get the starting value of the attribute
|
||||
starting_value = (tdata[self.resolution_order[def_idx][0]][attrname]
|
||||
or [])[:]
|
||||
|
|
|
|||
Loading…
Reference in New Issue