Culumative attirbutes always exist

pull/7644/head
Jimmy Brisson 2018-08-24 13:40:24 -05:00
parent 88a5b263f0
commit 4ef12ccdbc
1 changed files with 1 additions and 2 deletions

View File

@ -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 [])[:]