[PATCH 11/12] Check for fstype change based on name instead of type.

David Lehman dlehman at redhat.com
Thu Oct 4 22:10:15 UTC 2012


We populate the fstype combo with format names -- not format types.
Only a few formats have names that don't match their types.
---
 pyanaconda/ui/gui/spokes/custom.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 11d58be..28bce13 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1084,7 +1084,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         ##
         ## FORMATTING
         ##
-        if fs_type != device.format.type:
+        if fs_type != device.format.name:
             self.clear_errors()
             with ui_storage_logger():
                 old_format = device.format
-- 
1.7.7.6



More information about the anaconda-patches mailing list