From d6b937d94bb715aeca45da71d3595720bbda236a Mon Sep 17 00:00:00 2001 From: psakiev Date: Tue, 12 Nov 2024 17:44:11 -0700 Subject: [PATCH] Style --- lib/spack/spack/util/shell_detection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/spack/spack/util/shell_detection.py b/lib/spack/spack/util/shell_detection.py index 817bb3c4865..5eb2e3bd8fe 100644 --- a/lib/spack/spack/util/shell_detection.py +++ b/lib/spack/spack/util/shell_detection.py @@ -17,8 +17,7 @@ def active_shell_type(env=os.environ): else: try: output = subprocess.check_output( - 'powershell -Command "echo $PSVersionTable"', - universal_newlines=True, + 'powershell -Command "echo $PSVersionTable"', universal_newlines=True ) if "PSVersion" in output: return "ps1"