[PATCH 1/4] Show disk paths on Other page in advstorage.

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Jan 7 19:25:36 UTC 2015


[Pylint complained "paths" was unused for the OtherPage. We can either
opt to show the disk paths in some column or just remove the piece of
code where "paths" is defined for this page. I chose the former, but if
someone prefers to just axe it altogether, that's fine.]

---
 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 a1afb33..19663ef 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -321,7 +321,7 @@ class OtherPage(FilterPage):
             store.append([True, selected, not disk.protected,
                           disk.name, "", disk.model, str(disk.size),
                           disk.vendor, disk.bus, disk.serial,
-                          self._long_identifier(disk), "", port, getattr(disk, "initiator", ""),
+                          self._long_identifier(disk), "\n".join(paths), port, getattr(disk, "initiator", ""),
                           lun, "", ""])
 
             if not disk.vendor in vendors:
-- 
1.8.3.1



More information about the anaconda-patches mailing list