diff options
Diffstat (limited to 'third_party/scons/scons-local/SCons/Node/FS.py')
-rw-r--r-- | third_party/scons/scons-local/SCons/Node/FS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/scons/scons-local/SCons/Node/FS.py b/third_party/scons/scons-local/SCons/Node/FS.py index 6bb6f59e..ec7fd5e 100644 --- a/third_party/scons/scons-local/SCons/Node/FS.py +++ b/third_party/scons/scons-local/SCons/Node/FS.py @@ -554,7 +554,7 @@ class Base(SCons.Node.Node): This node, which already existed, is being looked up as the specified klass. Raise an exception if it isn't. """ - if self.__class__ is klass or klass is Entry: + if isinstance(self, klass) or klass is Entry: return raise TypeError, "Tried to lookup %s '%s' as a %s." %\ (self.__class__.__name__, self.path, klass.__name__) |