oops, fix for verbose builds

This commit is contained in:
rdb 2013-12-17 13:39:30 +00:00
parent b686d371ca
commit 708dca0468

View File

@ -649,9 +649,10 @@ def NeedsBuild(files, others):
key = tuple(files)
if key in BUILTFROMCACHE:
if BUILTFROMCACHE[key] == dates:
cached = BUILTFROMCACHE[key]
if cached == dates:
return False
if VERBOSE and frozenset(oldothers) != frozenset(others):
if VERBOSE and frozenset(cached.keys()) != frozenset(dates.keys()):
print("%sWARNING:%s file dependencies changed: %s%s%s" % (GetColor("red"), GetColor(), GetColor("green"), files, GetColor()))
return True