[virt-tools-list] [virt-manager PATCH] uihelpers: Fix storage unit

Martin Kletzander mkletzan at redhat.com
Tue Aug 27 05:49:36 UTC 2013


We use GB everywhere, but there was one place missing where we used Gb
instead.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---

Notes:
    Pushed as 'trivial'.

 virtManager/uihelpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtManager/uihelpers.py b/virtManager/uihelpers.py
index b9cd2bb..e5ecaa9 100644
--- a/virtManager/uihelpers.py
+++ b/virtManager/uihelpers.py
@@ -100,7 +100,7 @@ def update_host_space(conn, widget):
         return

     def pretty_storage(size):
-        return "%.1f Gb" % float(size)
+        return "%.1f GB" % float(size)

     hd_label = ("%s available in the default location" %
                 pretty_storage(max_storage))
-- 
1.8.3.2




More information about the virt-tools-list mailing list