Commit 48c94aaf authored by Godefroid Chapelle's avatar Godefroid Chapelle

cosmetics

parent a6888d28
......@@ -1848,7 +1848,7 @@ def _update_section(s1, s2):
implicit_value = SectionKey("", "IMPLICIT_VALUE")
# Find v1 in s2 first; it may have been defined locally too.
section_key = s2.get(key, s1.get(key, implicit_value))
section_key.addToValue(v.value, v.source)
section_key.addToValue(v.value, v.source)
s2[key] = section_key
del s2[k]
elif k.endswith('-'):
......@@ -1856,7 +1856,7 @@ def _update_section(s1, s2):
implicit_value = SectionKey("", "IMPLICIT_VALUE")
# Find v1 in s2 first; it may have been set by a += operation first
section_key = s2.get(key, s1.get(key, implicit_value))
section_key.removeFromValue(v.value, v.source)
section_key.removeFromValue(v.value, v.source)
s2[key] = section_key
del s2[k]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment