From c965bb3566420abb4946d70c3056c4243a215831 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Tue, 15 Aug 2023 15:34:39 +0200 Subject: [PATCH] Replace if with and in inline python expression --- .github/workflows/ci_build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_wheels.yml b/.github/workflows/ci_build_wheels.yml index f271ad477..153d0685a 100644 --- a/.github/workflows/ci_build_wheels.yml +++ b/.github/workflows/ci_build_wheels.yml @@ -97,7 +97,7 @@ jobs: # python -m pip install -U poetry # ", check=True, shell=True)' run: > - python -c 'import sys, subprocess; if sys.platform.startswith("linux"): + python -c 'import sys, subprocess; sys.platform.startswith("linux") and subprocess.call( "sudo apt install rustc && python -m pip install -U poetry", check=True,