diff options
author | David Lehman <dlehman@redhat.com> | 2010-02-22 18:05:28 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-02-22 20:06:18 -0600 |
commit | 2e1c4d4ab268fde0896e5a1730772933f57bed99 (patch) | |
tree | 138ed5ecc142b9296d149bc262057498025b9558 | |
parent | a96e06960fa239ab8bd9a3b10fc05617e8b9beae (diff) | |
download | anaconda-2e1c4d4ab268fde0896e5a1730772933f57bed99.tar.gz anaconda-2e1c4d4ab268fde0896e5a1730772933f57bed99.tar.xz anaconda-2e1c4d4ab268fde0896e5a1730772933f57bed99.zip |
DiskLabel.status can't be determined so return False. (#563526,#561074)
-rw-r--r-- | 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 f49e3c18b..1a9d0669c 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. """ |