[PATCH] Show warning msg if re-using a partition without formatting. (#886020)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Aug 13 15:06:34 UTC 2013


If a standard partition was being re-used for installation without
the 'format' checkbox marked, the associated warning message was
not popping up to notify users. This fixes one of the conditionals
which checked to see if the warning message should be displayed.

Resolves: rhbz#886020
---
 iw/partition_dialog_gui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 2bf053a..14bc6ac 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -376,7 +376,7 @@ class PartitionEditor:
                         pass
 
                 if request.format.exists and \
-                   getattr(request, "mountpoint", None) and \
+                   getattr(request.format, "mountpoint", None) and \
                    self.storage.formatByDefault(request):
                     if not queryNoFormatPreExisting(self.intf):
                         continue
-- 
1.8.3.1



More information about the anaconda-patches mailing list