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:
Patrick Georgi 2010-03-26 10:33:36 +00:00
parent 0735142bdd
commit 026476e4e3
1 changed files with 2 additions and 2 deletions

View File

@ -602,8 +602,8 @@ def getdict(dict, name):
def setdict(dict, name, value):
debug.info(debug.dict, "setdict sets %s to %s" % (name, value))
if name in dict.keys():
print "Duplicate in dict: %s" % name
if name in dict.keys() and not dict[name] == value:
print "Collision in dict: %s is %s, shall be set to %s" % (name, dict[name], value)
dict[name] = value