[PATCH] Drop unneeded required_space_text variable. (#997690)
Chris Lumens
clumens at redhat.com
Tue Aug 20 13:20:06 UTC 2013
> diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
> index 2cd1ab3..f4e27eb1 100644
> --- a/pyanaconda/ui/gui/spokes/storage.py
> +++ b/pyanaconda/ui/gui/spokes/storage.py
> @@ -168,14 +168,13 @@ class InstallOptions1Dialog(GUIObject):
> return True
>
> def _get_sw_needs_text(self, required_space, auto_swap):
> - required_space_text = size_str(required_space)
> sw_text = (_("Your current <a href=\"\"><b>%(product)s</b> software "
> "selection</a> requires <b>%(total)s</b> of available "
> "space, including <b>%(software)s</b> for software and "
> "<b>%(swap)s</b> for swap space.")
> % {"product": productName,
> - "total": required_space_text + auto_swap,
> - "software": required_space_text, "swap": auto_swap})
> + "total": required_space + auto_swap,
> + "software": required_space, "swap": auto_swap})
> return sw_text
Looks good.
- Chris
More information about the anaconda-patches
mailing list