[PATCH] Fix a bug I introduced with 3c78c1a5c.
Vratislav Podzimek
vpodzime at redhat.com
Wed Mar 27 11:19:42 UTC 2013
On Tue, 2013-03-26 at 16:07 -0400, Chris Lumens wrote:
> ---
> 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 6fa2f95..a8fda8c 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -803,7 +803,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> """ Add an entry for device to the new install Page. """
> page = self._accordion._find_by_title(self.translated_new_install_name).get_child()
> devices = [device]
> - if page.members:
> + if not page.members:
> # remove the CreateNewPage and replace it with a regular Page
> expander = self._accordion._find_by_title(self.translated_new_install_name)
> expander.remove(expander.get_child())
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list