Related: rhbz#1167292 --- pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index b2e6d11..eb34b9a 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -936,7 +936,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): def unusedDevices(self): unused_devices = [d for d in self.__storage.unusedDevices if d.disks and d.mediaPresent and - not d.partitioned and d.direct] + not d.partitioned and (d.direct or d.isleaf)] # add incomplete VGs and MDs incomplete = [d for d in self.__storage.devicetree._devices if not getattr(d, "complete", True)]
On Fri, 2015-01-23 at 12:34 -0600, David Lehman wrote:
Related: rhbz#1167292
pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index b2e6d11..eb34b9a 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -936,7 +936,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): def unusedDevices(self): unused_devices = [d for d in self.__storage.unusedDevices if d.disks and d.mediaPresent and
not d.partitioned and d.direct]
not d.partitioned and (d.direct or d.isleaf)] # add incomplete VGs and MDs incomplete = [d for d in self.__storage.devicetree._devices if not getattr(d, "complete", True)]
Looks good to me.
On 01/26/2015 08:27 AM, Vratislav Podzimek wrote:
On Fri, 2015-01-23 at 12:34 -0600, David Lehman wrote:
Related: rhbz#1167292
pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index b2e6d11..eb34b9a 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -936,7 +936,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): def unusedDevices(self): unused_devices = [d for d in self.__storage.unusedDevices if d.disks and d.mediaPresent and
not d.partitioned and d.direct]
not d.partitioned and (d.direct or d.isleaf)] # add incomplete VGs and MDs incomplete = [d for d in self.__storage.devicetree._devices if not getattr(d, "complete", True)]Looks good to me.
And works for me.
anaconda-patches@lists.fedorahosted.org