diff options
author | David Lehman <dlehman@redhat.com> | 2009-10-01 10:27:38 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-10-01 10:51:50 -0500 |
commit | d86a5b0fae1f374a58a4e4673609dbd640aa79e1 (patch) | |
tree | ab1a46901c8b9f7acd26a421038aa02452b53ed7 /iw | |
parent | b750220e30be937c8fbb85061472a9f3cbdd9bfc (diff) | |
download | anaconda-d86a5b0fae1f374a58a4e4673609dbd640aa79e1.tar.gz anaconda-d86a5b0fae1f374a58a4e4673609dbd640aa79e1.tar.xz anaconda-d86a5b0fae1f374a58a4e4673609dbd640aa79e1.zip |
Only ignore partitions <1MB that are freespace. (#526445)
This originally came from bug 119479, which only complained of small
free space partitions created by partition magic. Small partitions still
will not be represented in the graph.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/partition_gui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 4fc5e4f95..9762041d0 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1019,8 +1019,9 @@ class PartitionWindow(InstallWindow): log.debug("can't find partition %s in device" " tree" % partName) - # ignore the tiny < 1 MB partitions (#119479) - if part.getSize(unit="MB") <= 1.0: + # ignore the tiny < 1 MB free space partitions (#119479) + if part.getSize(unit="MB") <= 1.0 and \ + part.type & parted.PARTITION_FREESPACE: if not part.active or not device.bootable: part = part.nextPartition() continue |