summaryrefslogtreecommitdiff
path: root/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py')
-rw-r--r--src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py b/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py
index 65d1ac14296..57b3644223f 100644
--- a/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py
+++ b/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Node/FS.py
@@ -963,7 +963,7 @@ class Entry(Base):
def disambiguate(self, must_exist=None):
"""
- """
+ """
if self.isfile():
self.__class__ = File
self._morph()
@@ -3609,10 +3609,10 @@ class File(Base):
except AttributeError:
pass
- cachedir, cachefile = self.get_build_env().get_CacheDir().cachepath(self)
+ cache = self.get_build_env().get_CacheDir()
+ cachedir, cachefile = cache.cachepath(self)
if not self.exists() and cachefile and os.path.exists(cachefile):
- self.cachedir_csig = SCons.Util.MD5filesignature(cachefile, \
- SCons.Node.FS.File.md5_chunksize * 1024)
+ self.cachedir_csig = cache.get_cachedir_csig(self)
else:
self.cachedir_csig = self.get_csig()
return self.cachedir_csig