From 708dca046830ffb3279d7a629d2f253e499ef547 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 17 Dec 2013 13:39:30 +0000 Subject: [PATCH] oops, fix for verbose builds --- makepanda/makepandacore.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 7d11816d54..55fa889816 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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