[PATCH 8/8] MDRaidMember.__str__ add biosraid attribute to the returned string

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

 



---
 storage/formats/mdraid.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/formats/mdraid.py b/storage/formats/mdraid.py
index b26abfc..d153807 100644
--- a/storage/formats/mdraid.py
+++ b/storage/formats/mdraid.py
@@ -68,7 +68,8 @@ class MDRaidMember(DeviceFormat):
 
     def __str__(self):
         s = DeviceFormat.__str__(self)
-        s += ("  mdUUID = %(mdUUID)s" % {"mdUUID": self.mdUuid})
+        s += ("  mdUUID = %(mdUUID)s  biosraid = %(biosraid)s" %
+              {"mdUUID": self.mdUuid, "biosraid": self.biosraid})
         return s
 
     @property
-- 
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