do not describe the bios_grub partition as simply "unformatted" on the summary view

This commit is contained in:
Michael Hudson-Doyle 2018-03-28 11:02:33 +13:00
parent 4deb639a76
commit 1ad59279ec
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,8 @@ class FilesystemView(BaseView):
label += "%-*s"%(self.model.longest_fs_name+2, fs.fstype+',') + fs.mount().path
else:
label += fs.fstype
elif partition.flag == "bios_grub":
label += "bios_grub"
else:
label += "unformatted"
size = Text("{:>9} ({}%)".format(humanize_size(partition.size), int(100*partition.size/disk.size)))