summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/MSCommon/vc.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-11-19 05:08:51 (GMT)
committerDavid Cournapeau <cournape@gmail.com>2009-11-19 05:08:51 (GMT)
commit15f1083a68d25c8a4932e4294691bf7aef85be00 (patch)
tree24edaca089738930046157e14d01da36643b5504 /src/engine/SCons/Tool/MSCommon/vc.py
parent6f60318aaa92e8704f0d103832fe95b2dc98ea28 (diff)
downloadSCons-15f1083a68d25c8a4932e4294691bf7aef85be00.zip
SCons-15f1083a68d25c8a4932e4294691bf7aef85be00.tar.gz
SCons-15f1083a68d25c8a4932e4294691bf7aef85be00.tar.bz2
REF: remove duplicated function msvc_setup_env_once.
Diffstat (limited to 'src/engine/SCons/Tool/MSCommon/vc.py')
-rw-r--r--src/engine/SCons/Tool/MSCommon/vc.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py
index 1cd236d..d85b365 100644
--- a/src/engine/SCons/Tool/MSCommon/vc.py
+++ b/src/engine/SCons/Tool/MSCommon/vc.py
@@ -295,16 +295,6 @@ def msvc_setup_env(env):
for k, v in d.items():
env.PrependENVPath(k, v, delete_existing=True)
-def msvc_setup_env_once(env):
- try:
- has_run = env["MSVC_SETUP_RUN"]
- except KeyError:
- has_run = False
-
- if not has_run:
- msvc_setup_env(env)
- env["MSVC_SETUP_RUN"] = True
-
def msvc_exists(version=None):
vcs = get_installed_vcs()
if version is None: