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

Martin Kolman mkolman at redhat.com
Tue Mar 25 13:28:02 UTC 2014


Vratislav Podzimek píše v Po 24. 03. 2014 v 16:23 +0100:
> 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
ACK!



More information about the anaconda-patches mailing list