[PATCH 4/5] Remove "MB" from the size string on the HDISO combo box.

Chris Lumens clumens at redhat.com
Thu Sep 18 19:10:35 UTC 2014


Units are already included from the Size object.
---
 pyanaconda/ui/gui/spokes/source.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 525fd01..78ccb27 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -754,7 +754,7 @@ class SourceSpoke(NormalSpoke, GUISpokeInputCheckHandler):
             if dev_info["label"] != "":
                 dev_info["label"] = "\n" + dev_info["label"]
 
-            store.append([dev, "%(model)s %(path)s (%(size)s MB) %(format)s %(label)s" % dev_info])
+            store.append([dev, "%(model)s %(path)s (%(size)s) %(format)s %(label)s" % dev_info])
             if self.data.method.method == "harddrive" and dev == methodDev:
                 active = idx
             added = True
-- 
1.9.3



More information about the anaconda-patches mailing list