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"]
|
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)
|
blkid = subprocess_check_output(["blkid", "--output", "export", device], parse_environment_vars)
|
||||||
return {
|
return {
|
||||||
"label": blkid.get("LABEL"), # doesn't exist for mbr
|
"label": blkid.get("LABEL"), # doesn't exist for mbr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue