image-info: remove unused arg in read_partition

Remove the unused 'type' argument.
This commit is contained in:
Christian Kellner 2020-07-07 17:56:08 +02:00 committed by Ondřej Budai
parent b7a43b5812
commit cbc9ed0f11

View file

@ -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