Make sconfig only complain about real conflicts.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0735142bdd
commit
026476e4e3
|
@ -602,8 +602,8 @@ def getdict(dict, name):
|
||||||
|
|
||||||
def setdict(dict, name, value):
|
def setdict(dict, name, value):
|
||||||
debug.info(debug.dict, "setdict sets %s to %s" % (name, value))
|
debug.info(debug.dict, "setdict sets %s to %s" % (name, value))
|
||||||
if name in dict.keys():
|
if name in dict.keys() and not dict[name] == value:
|
||||||
print "Duplicate in dict: %s" % name
|
print "Collision in dict: %s is %s, shall be set to %s" % (name, dict[name], value)
|
||||||
dict[name] = value
|
dict[name] = value
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue