[blivet:master 09/21] Simplify NoDevFS.type.

mulhern amulhern at redhat.com
Thu Jan 15 18:39:38 UTC 2015


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fs.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 6fede96..158b7c4 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1494,10 +1494,7 @@ class NoDevFS(FS):
 
     @property
     def type(self):
-        if self.device != self._type:
-            return self.device
-        else:
-            return self._type
+        return self.device
 
     @property
     def mountType(self):
-- 
1.9.3



More information about the anaconda-patches mailing list