[PATCH storage 2/7] Do not duplicate requested minor number in edit raid UI list.

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

 



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

diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 6cd4f2f..976edc9 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -393,7 +393,7 @@ class RaidEditor:
         if not origrequest.exists:
             availminors = self.storage.unusedMDMinors[:16]
             reqminor = origrequest.minor
-            if reqminor is not None:
+            if reqminor is not None and reqminor not in availminors:
                 availminors.append(reqminor)
 
             availminors.sort()
-- 
1.5.4.3

_______________________________________________
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