[PATCH] Drop unneeded required_space_text variable. (#997690)
David Lehman
dlehman at redhat.com
Tue Aug 20 13:12:58 UTC 2013
---
pyanaconda/ui/gui/spokes/storage.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
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
# Methods to handle sensitivity of the modify button.
--
1.8.1.4
More information about the anaconda-patches
mailing list