summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-03-05 10:08:19 (GMT)
committerSteven Knight <knight@baldmt.com>2004-03-05 10:08:19 (GMT)
commit8c159b409fe5571924c7f8b8f4c0d103e616360d (patch)
tree3f91513832a290a59f438e906c5b24db8b049a51 /src/engine
parentaede9c91b7e76c5dd1bf90d7677d10592f9a9ba5 (diff)
downloadSCons-8c159b409fe5571924c7f8b8f4c0d103e616360d.zip
SCons-8c159b409fe5571924c7f8b8f4c0d103e616360d.tar.gz
SCons-8c159b409fe5571924c7f8b8f4c0d103e616360d.tar.bz2
Overlooked adding subst_path() to IDLTests.py.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Scanner/IDLTests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Scanner/IDLTests.py b/src/engine/SCons/Scanner/IDLTests.py
index 24bf8e4..c20dedc 100644
--- a/src/engine/SCons/Scanner/IDLTests.py
+++ b/src/engine/SCons/Scanner/IDLTests.py
@@ -201,6 +201,11 @@ class DummyEnvironment:
def subst(self, arg):
return arg
+ def subst_path(self, path):
+ if type(path) != type([]):
+ path = [path]
+ return map(self.subst, path)
+
def has_key(self, key):
return self.Dictionary().has_key(key)