image-info: remove unused arg in read_partition
Remove the unused 'type' argument.
This commit is contained in:
parent
b7a43b5812
commit
cbc9ed0f11
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue