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

Vratislav Podzimek vpodzime at redhat.com
Tue Feb 25 09:46:16 UTC 2014


On Mon, 2014-02-24 at 12:43 -0500, mulhern wrote:
> 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)
ACK. I've some redundant size queries when debugging the "missing
extent" issue.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list