[anaconda-storage-branch PATCH] Check for disk name being in disk.name not in clearPartDisks

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

 



disk -> disk.name
---
 storage/partitioning.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 0fdd6b9..de38e1b 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -45,7 +45,8 @@ def _createFreeSpacePartitions(anaconda):
     # least 100MB
     disks = []
     for disk in anaconda.id.storage.disks:
-        if anaconda.id.storage.clearPartDisks and disk not in anaconda.id.storage.clearPartDisks:
+        if anaconda.id.storage.clearPartDisks and \
+           (disk.name not in anaconda.id.storage.clearPartDisks):
             continue
 
         partedDisk = disk.partedDisk
-- 
1.6.2

_______________________________________________
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