summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Platform
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-01-30 20:23:20 (GMT)
committerGitHub <noreply@github.com>2020-01-30 20:23:20 (GMT)
commit1e71abf4c79e74adff68eea8eb9b40bfbf1260c3 (patch)
tree99fb4d6c53cea2ad6d6542f04a97e8652aaf3c5a /src/engine/SCons/Platform
parent337906cbc01693f4daff40bb22028b8a39f0bc6d (diff)
parent5dc329a52fa144436e1891be92a78ce313101dd9 (diff)
downloadSCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.zip
SCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.tar.gz
SCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.tar.bz2
Merge branch 'master' into issue-3469
Diffstat (limited to 'src/engine/SCons/Platform')
-rw-r--r--src/engine/SCons/Platform/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Platform/__init__.py b/src/engine/SCons/Platform/__init__.py
index 058241d..5e9a358 100644
--- a/src/engine/SCons/Platform/__init__.py
+++ b/src/engine/SCons/Platform/__init__.py
@@ -195,7 +195,7 @@ class TempFileMunge(object):
# Default to the .lnk suffix for the benefit of the Phar Lap
# linkloc linker, which likes to append an .lnk suffix if
# none is given.
- if env.has_key('TEMPFILESUFFIX'):
+ if 'TEMPFILESUFFIX' in env:
suffix = env.subst('$TEMPFILESUFFIX')
else:
suffix = '.lnk'