From: stevenknight Date: Mon, 2 Mar 2009 19:09:47 +0000 (+0000) Subject: Fix a nested scope issue. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3af1409f97624632420d75b3cba6fc414fef2d5;p=scons.git Fix a nested scope issue. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4060 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/MSCommon/common.py b/src/engine/SCons/Tool/MSCommon/common.py index 1e4aef87..35832466 100644 --- a/src/engine/SCons/Tool/MSCommon/common.py +++ b/src/engine/SCons/Tool/MSCommon/common.py @@ -125,7 +125,7 @@ def parse_output(output, keep = ("INCLUDE", "LIB", "LIBPATH", "PATH")): for i in keep: rdk[i] = re.compile('%s=(.*)' % i, re.I) - def add_env(rmatch, key): + def add_env(rmatch, key, dkeep=dkeep): plist = rmatch.group(1).split(os.pathsep) for p in plist: # Do not add empty paths (when a var ends with ;)