Right, handle brand-new pp case..

pps_postmortem
Tyler Goodlet 2022-07-01 16:12:09 -04:00
parent ec6a28a8b1
commit 64d8cd448f
1 changed files with 6 additions and 1 deletions

View File

@ -629,7 +629,12 @@ def load_pps_from_toml(
# index clears entries in "object" form by tid in a top # index clears entries in "object" form by tid in a top
# level dict instead of a list (as is presented in our # level dict instead of a list (as is presented in our
# ``pps.toml``). # ``pps.toml``).
clears = pp_objs[bsuid].clears pp = pp_objs.get(bsuid)
if pp:
clears = pp.clears
else:
clears = {}
for clears_table in clears_list: for clears_table in clears_list:
tid = clears_table.pop('tid') tid = clears_table.pop('tid')
clears[tid] = clears_table clears[tid] = clears_table