[PATCH] Fix infinite loops in partition screen populate. (#490051)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/partition_gui.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index d58e139..7b22aab 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'] = ""
-- 
1.6.0.6

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux