[PATCH 1/2] Use description property for MDRaidArrayDevice model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The description property properly differentiaties between regular mdraid
and biosraid sets, using this for model makes for a more informational
display in cleardisks_gui.
---
 storage/devices.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index c2f7db7..800720a 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2825,7 +2825,7 @@ class MDRaidArrayDevice(StorageDevice):
 
     @property
     def model(self):
-        return "RAID%d Array" % self.level
+        return self.description
 
     @property
     def partitionable(self):
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux