Remove unused Python local variables.

This commit is contained in:
Marcel Admiraal 2020-09-11 11:39:15 +01:00
parent 9d9ee2d4c2
commit 3070d0b735
3 changed files with 0 additions and 9 deletions

View file

@ -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")