[blivet:rhel7-only] Convert devices size to str for GUI for zFCP devices (#1144464)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Fri Sep 19 15:14:21 UTC 2014
On Fri, Sep 19, 2014 at 10:46:21AM -0400, mulhern wrote:
> Resolves: rhbz#1144464
>
> Should have gone in with b3f4bcfbd5799d47b65dfee15a34d09bca11ff83.
> Sizes for all other device types were properly converted in this commit,
> but zFCP devices got left out.
Looks good.
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
> pyanaconda/ui/gui/spokes/filter.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
> index 2ffbe23..66dcc94 100644
> --- a/pyanaconda/ui/gui/spokes/filter.py
> +++ b/pyanaconda/ui/gui/spokes/filter.py
> @@ -470,7 +470,7 @@ class ZPage(FilterPage):
>
> # now add it to our store
> store.append([True, selected, not disk.protected,
> - disk.name, "", disk.model, disk.size,
> + disk.name, "", disk.model, str(disk.size),
> disk.vendor, disk.bus, disk.serial, "", "\n".join(paths),
> "", "", disk.fcp_lun, disk.hba_id, disk.wwpn])
>
> --
> 1.9.3
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list