From 3070d0b7351d480ec201d4f488938744f68e56dd Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Fri, 11 Sep 2020 11:39:15 +0100 Subject: Remove unused Python local variables. --- modules/mono/build_scripts/solution_builder.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules') diff --git a/modules/mono/build_scripts/solution_builder.py b/modules/mono/build_scripts/solution_builder.py index 03f4e57f02..6a621c3c8b 100644 --- a/modules/mono/build_scripts/solution_builder.py +++ b/modules/mono/build_scripts/solution_builder.py @@ -8,9 +8,6 @@ def find_dotnet_cli(): import os.path if os.name == "nt": - windows_exts = os.environ["PATHEXT"] - windows_exts = windows_exts.split(os.pathsep) if windows_exts else [] - for hint_dir in os.environ["PATH"].split(os.pathsep): hint_dir = hint_dir.strip('"') hint_path = os.path.join(hint_dir, "dotnet") -- cgit v1.2.3