FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-22-2010, 11:10 PM
David Lehman
 
Default DiskLabel.status can't be determined so return False. (#563526, #561074)

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-22-2010, 11:25 PM
David Cantrell
 
Default DiskLabel.status can't be determined so return False. (#563526, #561074)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 22 Feb 2010, David Lehman wrote:


---
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. """



Ack.

- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuDII4ACgkQ5hsjjIy1VkmW3wCeJpC8qdHhQi vNGMcchHVeqONu
ATQAoKybpeKUIeIqgO48WStt5hPu1xZw
=i3D/
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org