persistence: align some more variable names

This commit is contained in:
Johannes Kirschbauer
2025-10-16 13:04:24 +02:00
parent 727474055e
commit 17c35c4259
4 changed files with 15 additions and 13 deletions

View File

@@ -265,15 +265,15 @@ class InventoryStore:
"""Write the inventory to the flake directory
and commit it to git with the given message
"""
write_info = self._get_persistence_info()
persistence_info = self._get_persistence_info()
patchset, delete_set = calc_patches(
dict(write_info.data_disk),
dict(persistence_info.data_disk),
dict(update),
dict(write_info.data_eval),
write_info.attribute_props,
dict(persistence_info.data_eval),
persistence_info.attribute_props,
)
persisted = dict(write_info.data_disk)
persisted = dict(persistence_info.data_disk)
for patch_path, data in patchset.items():
set_value_by_path_tuple(persisted, patch_path, data)