[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Fix check so we actually disallow use of preexisting root filesystems.



Related: rhbz#730798
---
 pyanaconda/iw/partition_dialog_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/partition_dialog_gui.py b/pyanaconda/iw/partition_dialog_gui.py
index 0495532..f19d2ea 100644
--- a/pyanaconda/iw/partition_dialog_gui.py
+++ b/pyanaconda/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):
                     reason = self.storage.mustFormat(request)
                     if reason:
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]