From e15a29aaa31f1da783bbe246e8f90b30fa3b046e Mon Sep 17 00:00:00 2001 From: cournape Date: Thu, 19 Nov 2009 05:08:51 +0000 Subject: [PATCH] REF: remove duplicated function msvc_setup_env_once. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4459 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/MSCommon/vc.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 1cd236dc..d85b3659 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: -- 2.26.2