Re-enable the timestamp cache previously removed

This commit is contained in:
Thomas Nagy 2017-08-09 00:27:13 +02:00
parent e22390ee44
commit 43d6363177
1 changed files with 5 additions and 1 deletions

View File

@ -274,7 +274,11 @@ def is_stale(self):
Logs.debug('rev_use: must post %r because there it has no cached data', self.name)
return True
cache = {}
try:
cache = self.bld.cache_tstamp_rev_use
except AttributeError:
cache = self.bld.cache_tstamp_rev_use = {}
def tstamp(x):
# compute files timestamps with some caching
try: