From 2c5beeca910f86dc82c42320488dcf6c79957fb9 Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Thu, 24 May 2018 14:21:10 -0500 Subject: [PATCH] pyflakes3 fixes for subiquity/ui/views/filesystem/partition.py --- subiquity/ui/views/filesystem/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/ui/views/filesystem/partition.py b/subiquity/ui/views/filesystem/partition.py index f36e39af..bd2b50c1 100644 --- a/subiquity/ui/views/filesystem/partition.py +++ b/subiquity/ui/views/filesystem/partition.py @@ -276,7 +276,7 @@ class FormatEntireView(PartitionFormatView): self.controller = controller self.volume = volume 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.") else: self.title = _("Partition, format, "