summaryrefslogtreecommitdiffstats
path: root/SCons/Environment.py
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-04-05 15:40:40 (GMT)
committerDaniel Moody <daniel.moody@mongodb.com>2021-04-05 15:40:40 (GMT)
commit54704455ae6ce154f61a69a8e47997ef77e13fe2 (patch)
tree112ee1a3dc2d7a9e983069b7b5b5ff83ba6bbdca /SCons/Environment.py
parentce9ea2580fa5e4bb143d5ada308c42e40512be19 (diff)
downloadSCons-54704455ae6ce154f61a69a8e47997ef77e13fe2.zip
SCons-54704455ae6ce154f61a69a8e47997ef77e13fe2.tar.gz
SCons-54704455ae6ce154f61a69a8e47997ef77e13fe2.tar.bz2
fix sider issues
Diffstat (limited to 'SCons/Environment.py')
-rw-r--r--SCons/Environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/SCons/Environment.py b/SCons/Environment.py
index eefd8da..4248d32 100644
--- a/SCons/Environment.py
+++ b/SCons/Environment.py
@@ -1051,7 +1051,8 @@ class Base(SubstitutionEnvironment):
cachedir_class = self.validate_CacheDir_class()
try:
if (path == self._last_CacheDir_path
- and cachedir_class is type(self._last_CacheDir)):
+ and issubclass(type(self._last_CacheDir), cachedir_class)
+ and issubclass(cachedir_class, type(self._last_CacheDir))):
return self._last_CacheDir
except AttributeError:
pass