# A resonable default if we can't read the registry
- val = os.environ['S
+ val = os.environ['S']
# contain an ENV and a PATH.
systemroot = r'C:\Windows'
- if os.environ.has_key('SYSTEMROOT'):
- systemroot = os.environ['SYSTEMROOT']
+ if os.environ.has_key('SystemRoot'):
+ systemroot = os.environ['SystemRoot']
tmp_path = systemroot + os.pathsep + \
tmp_pathext = '.com;.exe;.bat;.cmd'
# Import things from the external environment to the construction
# environment's ENV. This is a potential slippery slope, because we
# *don't* want to make builds dependent on the user's environment by
- # default. We're doing this for S
YSTEMROOT, though, because it's
+ # default. We're doing this for S, though, because it's
# needed for anything that uses sockets, and seldom changes, and
- # for S
YSTEMDRIVE because it's related.
+ # for S because it's related.
# Weigh the impact carefully before adding other variables to this list.
- import_env = [ 'S
YSTEMDRIVE', 'SYSTEMROOT', 'TEMP', 'TMP' ]
+ import_env = [ 'S', 'TEMP', 'TMP' ]