From 8a618c24caca4635e6885a2823ba7fc69bd465ef Mon Sep 17 00:00:00 2001 From: Lint Action <95386651+weee-open-bot@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:31:18 +0000 Subject: [PATCH] Fix code style issues with Black --- basilico.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilico.py b/basilico.py index 0e80674..fdf2fc4 100755 --- a/basilico.py +++ b/basilico.py @@ -597,7 +597,7 @@ def close_at_end(self, _cmd: str, _nothing: str): def _get_last_linux_partition_path_and_number(dev: str) -> tuple[str, str] | tuple[None, None]: # Use PTTYPE to get MBR/GPT (dos/gpt are the possible values) # PARTTYPENAME could be useful, too - + exitcode, output = subprocess.getstatusoutput(f"lsblk -o PATH,PARTTYPE,PARTN -J {dev}") if exitcode != 0: exitcode, output = subprocess.getstatusoutput(f"lsblk -o PATH,PARTTYPE -J {dev}")