[master][PATCH] Pass Size(0) instead of 0 to the ContainerDialog if no size is given

Vratislav Podzimek vpodzime at redhat.com
Mon Mar 24 15:23:44 UTC 2014


Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 42ec171..4187c5c 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1854,7 +1854,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         self._populate_raid(selectedRaidLevel(self._raidLevelCombo))
 
     def run_container_editor(self, container=None, name=None):
-        size = 0
+        size = Size(0)
         size_policy = self._device_container_size
         if container:
             container_name = container.name
-- 
1.8.5.3



More information about the anaconda-patches mailing list