Skip to content

Commit

Permalink
GitHub Action: Apply Pep8-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 6, 2024
1 parent 77df0b9 commit ad958a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/spack_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ def run_with_spack(command: str, log: Path) -> None:
del env['VIRTUAL_ENV']
if 'PATH' in env:
# Filter out any paths related to the virtual environment
env['PATH'] = ':'.join(
p for p in env['PATH'].split(':')
if 'venv' not in p
)
env['PATH'] = ':'.join(p for p in env['PATH'].split(':')
if 'venv' not in p)
# Direct stream to avoid buffering.
# '2>&1' redirects stderr to stdout.
ret = subprocess.run(
Expand Down

0 comments on commit ad958a9

Please sign in to comment.