pyflakes3 fixes for subiquity/ui/views/filesystem/partition.py

This commit is contained in:
Ryan Harper 2018-05-24 14:21:10 -05:00
parent afefe7f163
commit 2c5beeca91
1 changed files with 1 additions and 1 deletions

View File

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