Browse Source

oops, fix for verbose builds

rdb 12 years ago
parent
commit
708dca0468
1 changed files with 3 additions and 2 deletions
  1. 3 2
      makepanda/makepandacore.py

+ 3 - 2
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