diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-31 03:23:33 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-31 03:23:33 (GMT) |
commit | a420014e771d33e2514c0b4f3fc98d3085026a08 (patch) | |
tree | cba9afc5621fcd29d6e5c83abfceebc4599756f9 /src/engine | |
parent | 4c3ee7a72f6793ee01a164f8460ae65a40746e22 (diff) | |
download | SCons-a420014e771d33e2514c0b4f3fc98d3085026a08.zip SCons-a420014e771d33e2514c0b4f3fc98d3085026a08.tar.gz SCons-a420014e771d33e2514c0b4f3fc98d3085026a08.tar.bz2 |
PY2/3 Ensure system root is not unicode on py2
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Platform/win32.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/SCons/Platform/win32.py b/src/engine/SCons/Platform/win32.py index a735899..0e9e01f 100644 --- a/src/engine/SCons/Platform/win32.py +++ b/src/engine/SCons/Platform/win32.py @@ -287,6 +287,10 @@ def get_system_root(): raise except: pass + + # Ensure system root is a string and not unicode + # (This only matters for py27 were unicode in env passed to POpen fails) + val = str(val) _system_root = val return val |