summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner/IDLTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Scanner/IDLTests.py')
-rw-r--r--src/engine/SCons/Scanner/IDLTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Scanner/IDLTests.py b/src/engine/SCons/Scanner/IDLTests.py
index 26b3956..096fc9f 100644
--- a/src/engine/SCons/Scanner/IDLTests.py
+++ b/src/engine/SCons/Scanner/IDLTests.py
@@ -203,7 +203,7 @@ class DummyEnvironment:
return arg
def subst_path(self, path, target=None, source=None, conv=None):
- if type(path) != type([]):
+ if not isinstance(path, list):
path = [path]
return list(map(self.subst, path))