pyflakes3 fixes for subiquity/ui/views/filesystem/partition.py
This commit is contained in:
parent
afefe7f163
commit
2c5beeca91
|
@ -276,7 +276,7 @@ class FormatEntireView(PartitionFormatView):
|
||||||
self.controller = controller
|
self.controller = controller
|
||||||
self.volume = volume
|
self.volume = volume
|
||||||
if isinstance(volume, Disk):
|
if isinstance(volume, Disk):
|
||||||
self.title = _("Format and/or mount {}").format(disk.label)
|
self.title = _("Format and/or mount {}").format(volume.label)
|
||||||
self.footer = _("Format or mount whole disk.")
|
self.footer = _("Format or mount whole disk.")
|
||||||
else:
|
else:
|
||||||
self.title = _("Partition, format, "
|
self.title = _("Partition, format, "
|
||||||
|
|
Loading…
Reference in New Issue