summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-12 21:41:58 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-13 10:21:00 -0500
commit76c46ee886a3f96d963bc1175c76f6e8be731e00 (patch)
tree67198dbeb2382e4eae58cbab21e989465af62752 /iw
parent64d856def83048916ac32ca9184e0fae2ae2aaa9 (diff)
downloadanaconda-76c46ee886a3f96d963bc1175c76f6e8be731e00.tar.gz
anaconda-76c46ee886a3f96d963bc1175c76f6e8be731e00.tar.xz
anaconda-76c46ee886a3f96d963bc1175c76f6e8be731e00.zip
Fix infinite loops in partition screen populate. (#490051)
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index d58e13989..7b22aabd1 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -817,6 +817,7 @@ class PartitionWindow(InstallWindow):
# ignore the tiny < 1 MB partitions (#119479)
if part.getSize(unit="MB") <= 1.0:
if not part.active or not device.bootable:
+ part = part.nextPartition()
continue
stripe.add(part)
@@ -863,6 +864,7 @@ class PartitionWindow(InstallWindow):
else:
self.tree.appendToHiddenPartitionsList(part)
self.tree.remove(iter)
+ part = part.nextPartition()
continue
else:
self.tree[iter]['Mount Point'] = ""