Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Desktop (http://www.linux-archive.org/fedora-desktop/)
-   -   Only look for extended partitions on partitioned devices (#576628) (http://www.linux-archive.org/fedora-desktop/346453-only-look-extended-partitions-partitioned-devices-576628-a.html)

Hans de Goede 03-24-2010 04:36 PM

Only look for extended partitions on partitioned devices (#576628)
 
---
storage/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 4e3bbf7..e37f9e9 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -823,7 +823,7 @@ class Storage(object):

def extendedPartitionsSupported(self):
""" Return whether any disks support extended partitions."""
- for disk in self.disks:
+ for disk in self.partitioned:
if disk.format.partedDisk.supportsFeature(parted.DISK _TYPE_EXTENDED):
return True
return False
--
1.7.0

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


All times are GMT. The time now is 09:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.