[PATCH 2/2] Display container sizes to just two places, as well.

Chris Lumens clumens at redhat.com
Thu Sep 4 19:11:11 UTC 2014


---
 pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
index fc99981..4d0948c 100644
--- a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
+++ b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
@@ -505,7 +505,7 @@ class ContainerDialog(GUIObject, GUIDialogInputCheckHandler):
         self._populate_raid()
 
         self._original_size = self.size
-        self._original_size_text = self.size.humanReadable(max_places=None)
+        self._original_size_text = self.size.humanReadable(max_places=2)
         self._sizeEntry.set_text(self._original_size_text)
         if self.size_policy == SIZE_POLICY_AUTO:
             self._sizeCombo.set_active(0)
-- 
1.9.3



More information about the anaconda-patches mailing list