[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Signed-off-by: Martin Kletzander <mkletzan 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]