summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-02-10 15:12:33 (GMT)
committerMats Wichmann <mats@linux.com>2019-02-10 15:12:33 (GMT)
commit9ce611599422e83c371b236440da3d6a87712b87 (patch)
treed0d22f42ecbd5a8df00101ee442f1c1c396831da /src
parent991594aa3163bec5d247437a2e5b51d95fbd376c (diff)
downloadSCons-9ce611599422e83c371b236440da3d6a87712b87.zip
SCons-9ce611599422e83c371b236440da3d6a87712b87.tar.gz
SCons-9ce611599422e83c371b236440da3d6a87712b87.tar.bz2
Fix syntax error from reverting popen context mgr
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Tool/MSCommon/vc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py
index 4574043..ea053cb 100644
--- a/src/engine/SCons/Tool/MSCommon/vc.py
+++ b/src/engine/SCons/Tool/MSCommon/vc.py
@@ -296,9 +296,9 @@ def find_vc_pdir_vswhere(msvc_version):
vswhere_cmd = [vswhere_path, '-products', '*', '-version', msvc_version, '-property', 'installationPath']
if os.path.exists(vswhere_path):
- #TODO PY27 cannot use Popen as context manager
- # try putting it back to the old way for now
- sp = subprocess.Popen(vswhere_cmd,
+ #TODO PY27 cannot use Popen as context manager
+ # try putting it back to the old way for now
+ sp = subprocess.Popen(vswhere_cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
vsdir, err = sp.communicate()