[anaconda][rhel7][PATCH] Show empty VGs in the custom spoke.
Vratislav Podzimek
vpodzime at redhat.com
Mon Jan 26 07:27:28 UTC 2015
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.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list