[PATCH 03/16] Clear errors when entering or leaving the custom spoke.

David Lehman dlehman at redhat.com
Thu Oct 11 23:45:53 UTC 2012


---
 pyanaconda/ui/gui/spokes/custom.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 114cffb..9838e22 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -339,6 +339,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             self.storage.devicetree.registerAction(action)
 
     def apply(self):
+        self.clear_errors()
         ui_devicetree = self.__storage.devicetree
 
         log.debug("converting custom spoke changes into actions")
@@ -609,6 +610,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         self._unused_devices = None
 
     def refresh(self):
+        self.clear_errors()
         NormalSpoke.refresh(self)
 
         # Make sure the storage spoke execute method has finished before we
-- 
1.7.7.6



More information about the anaconda-patches mailing list