summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-05-23 22:07:38 +0000
committerJeremy Katz <katzj@redhat.com>2005-05-23 22:07:38 +0000
commit61e404dbbb661b0f7e2db9ada2a359a2cc7ce7c4 (patch)
tree62a67ea186a33a7589931b1225d1f82563af475a /partedUtils.py
parent1a576f5eacf02b16de73953c5755126168aca59a (diff)
downloadanaconda-61e404dbbb661b0f7e2db9ada2a359a2cc7ce7c4.tar.gz
anaconda-61e404dbbb661b0f7e2db9ada2a359a2cc7ce7c4.tar.xz
anaconda-61e404dbbb661b0f7e2db9ada2a359a2cc7ce7c4.zip
2005-05-23 Jeremy Katz <katzj@redhat.com>
* partedUtils.py (DiskSet.getLabels): Look for labels on all fstypes.
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 697aee90e..ccf26d055 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -565,10 +565,7 @@ class DiskSet:
disk = self.disks[drive]
func = lambda part: (part.is_active() and
not (part.get_flag(parted.PARTITION_RAID)
- or part.get_flag(parted.PARTITION_LVM))
- and part.fs_type
- and (part.fs_type.name in ("ext2",
- "ext3", "xfs")))
+ or part.get_flag(parted.PARTITION_LVM)))
parts = filter_partitions(disk, func)
for part in parts:
node = get_partition_name(part)