From 61e404dbbb661b0f7e2db9ada2a359a2cc7ce7c4 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 23 May 2005 22:07:38 +0000 Subject: 2005-05-23 Jeremy Katz * partedUtils.py (DiskSet.getLabels): Look for labels on all fstypes. --- partedUtils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'partedUtils.py') 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) -- cgit