[anaconda:rhel7/master] Remove redundant _setCurrentFreeSpace() call (#1043763)

mulhern amulhern at redhat.com
Mon Feb 24 17:43:43 UTC 2014


Related: rhbz#1043763

_setCurrentFreeSpace() is called in  _updateSpaceDisplay() which is invoked on
the next line.

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

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 61506fc..76185f4 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -869,8 +869,6 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         self.passphrase = self.data.autopart.passphrase
         self._reset_storage()
         self._do_refresh()
-        # update our free space number based on Storage
-        self._setCurrentFreeSpace()
 
         self._updateSpaceDisplay()
         self._applyButton.set_sensitive(False)
-- 
1.8.3.1



More information about the anaconda-patches mailing list