[PATCH] DiskLabel.status can't be determined so return False. (#563526, #561074)

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

 



---
 storage/formats/disklabel.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/storage/formats/disklabel.py b/storage/formats/disklabel.py
index f49e3c1..1a9d066 100644
--- a/storage/formats/disklabel.py
+++ b/storage/formats/disklabel.py
@@ -182,10 +182,7 @@ class DiskLabel(DeviceFormat):
     @property
     def status(self):
         """ Device status. """
-        return (self.exists and self.device and
-                os.path.exists(self.device) and
-                self.partedDevice is not None and
-                self.partedDisk is not None)
+        return False
 
     def setup(self, *args, **kwargs):
         """ Open, or set up, a device. """
-- 
1.6.6

_______________________________________________
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