Skip to content

Commit 7859a40

Browse files
committed
Replace removed process_path function call with normalize_path.
1 parent 5038ac5 commit 7859a40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SCons/Tool/MSCommon/vc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ def _vswhere_user_path(pval):
946946

947947
else:
948948

949-
# vswhere_norm = MSVC.Util.process_path(pval)
949+
# TODO: vswhere_norm = MSVC.Util.normalize_path(pval)
950950
vswhere_norm = os.path.normcase(os.path.normpath(pval))
951951

952952
tail = os.path.split(vswhere_norm)[-1]
@@ -968,7 +968,7 @@ def _vswhere_user_path(pval):
968968
# normalized default vswhere path
969969

970970
_vswhere_paths_processed = [
971-
MSVC.Util.process_path(pval)
971+
MSVC.Util.normalize_path(pval)
972972
for pval in VSWHERE_PATHS
973973
if os.path.exists(pval)
974974
]
@@ -1156,7 +1156,7 @@ def _update_vswhere_msvc_map(env):
11561156
if not os.path.exists(vc_path):
11571157
continue
11581158

1159-
vc_root = MSVC.Util.process_path(vc_path)
1159+
vc_root = MSVC.Util.normalize_path(vc_path)
11601160
if vc_root in _VSWhere.seen_root:
11611161
continue
11621162
_VSWhere.seen_root.add(vc_root)

0 commit comments

Comments
 (0)