From cbc9ed0f112bd7f8dbda18cdd5afddb0be63bfa4 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 7 Jul 2020 17:56:08 +0200 Subject: [PATCH] image-info: remove unused arg in read_partition Remove the unused 'type' argument. --- tools/image-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image-info b/tools/image-info index b8afea8f4..4645fa943 100755 --- a/tools/image-info +++ b/tools/image-info @@ -105,7 +105,7 @@ def read_image_format(device): return qemu["format"] -def read_partition(device, bootable, typ=None, start=0, size=0, type=None): +def read_partition(device, bootable, typ=None, start=0, size=0): blkid = subprocess_check_output(["blkid", "--output", "export", device], parse_environment_vars) return { "label": blkid.get("LABEL"), # doesn't exist for mbr