From: stevenknight Date: Fri, 5 Mar 2004 10:08:19 +0000 (+0000) Subject: Overlooked adding subst_path() to IDLTests.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7485b588226005893ca7ffa35ccbf85066123906;p=scons.git Overlooked adding subst_path() to IDLTests.py. git-svn-id: http://scons.tigris.org/svn/scons/trunk@916 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Scanner/IDLTests.py b/src/engine/SCons/Scanner/IDLTests.py index 24bf8e47..c20dedc3 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)