[blivet:rhel7-only] Convert devices size to str for GUI for zFCP devices (#1144464)
mulhern
amulhern at redhat.com
Fri Sep 19 14:46:21 UTC 2014
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.
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
More information about the anaconda-patches
mailing list