[master/f20] clear errors when metadata is ok in tui source spoke (#1006570)
Vratislav Podzimek
vpodzime at redhat.com
Mon Nov 25 08:52:30 UTC 2013
On Wed, 2013-11-20 at 11:35 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
>
> Otherwise you can't switch methods and are stuck.
> ---
> pyanaconda/ui/tui/spokes/source.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/pyanaconda/ui/tui/spokes/source.py b/pyanaconda/ui/tui/spokes/source.py
> index 565dc0f..79ac1e0 100644
> --- a/pyanaconda/ui/tui/spokes/source.py
> +++ b/pyanaconda/ui/tui/spokes/source.py
> @@ -324,6 +324,7 @@ class SourceSpoke(SourceSwitchHandler, EditTUISpoke):
> self.payload.environments
> # pylint: disable-msg=W0104
> self.payload.groups
> + self.errors = []
> except MetadataError:
> self.errors.append(_("No installation source available"))
Isn't this happening on rhel7-branch as well? I'm afraid I hit it when
testing the "empty-NFS" cases there.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list