[master 3/6] Make hidden property use superclass method where possible.

mulkieran installerbot-noreply at redhat.com
Wed Mar 11 22:08:12 UTC 2015


From: mulhern <amulhern at redhat.com>

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/mdraid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/mdraid.py b/blivet/formats/mdraid.py
index 61e0971..f173a8d 100644
--- a/blivet/formats/mdraid.py
+++ b/blivet/formats/mdraid.py
@@ -99,7 +99,7 @@ def status(self):
 
     @property
     def hidden(self):
-        return (self._hidden or self.biosraid)
+        return super(MDRaidMember, self).hidden or self.biosraid
 
 # nodmraid -> Wether to use BIOS RAID or not
 # Note the anaconda cmdline has not been parsed yet when we're first imported,


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/80ecebcfedc5616c928056cc50631746b5b3da9e


More information about the anaconda-patches mailing list