Skip to content

Commit

Permalink
refactor(local): remove useless variable full_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
salemsd committed Dec 11, 2024
1 parent 78930df commit 2bc97a7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,8 @@ def _write_binding_constraint_ini(
# Persist the updated INI content
self.ini_file.write_ini_file()
else:
full_properties = BindingConstraintPropertiesLocal(**local_properties.model_dump())

section_index = len(current_ini_content)
current_ini_content[str(section_index)] = full_properties.list_ini_fields
current_ini_content[str(section_index)] = local_properties.list_ini_fields

self.ini_file.ini_dict_binding_constraints = current_ini_content
self.ini_file.write_ini_file()
Expand Down

0 comments on commit 2bc97a7

Please sign in to comment.