[anaconda:rhel7/master 6/8] Remove some unnecessary resets (#1060255)

mulhern amulhern at redhat.com
Fri Feb 7 15:00:35 UTC 2014


Related: rhbz#1060255

These are unnecessary now that doAutoPartition() no longer calls
sanityCheck().

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/ui/gui/spokes/storage.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 905db6e..2fef10d 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -377,9 +377,6 @@ class StorageSpoke(NormalSpoke, StorageChecker):
             self.data.bootloader.bootDrive = ""
         else:
             if self.autopart:
-                # this was already run as part of doAutoPartition. dumb.
-                StorageChecker.errors = []
-                StorageChecker.warnings = []
                 self.run()
         finally:
             self._ready = True
-- 
1.8.3.1



More information about the anaconda-patches mailing list