[rhel7-branch/master][PATCH] Update both the method and repo info.

David Shea dshea at redhat.com
Tue Aug 20 21:51:28 UTC 2013


On 08/20/2013 05:50 PM, David Shea wrote:
> If both method and repos were changed, only the changes in method were
> being saved.
> ---
>   pyanaconda/ui/gui/spokes/source.py | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
> index 009d386..2623141 100644
> --- a/pyanaconda/ui/gui/spokes/source.py
> +++ b/pyanaconda/ui/gui/spokes/source.py
> @@ -454,7 +454,9 @@ class SourceSpoke(NormalSpoke):
>   
>       @property
>       def changed(self):
> -        return self._method_changed() or self._update_payload_repos()
> +        method_changed = self._method_changed()
> +        update_payload_repos = self._update_payload_repos()
> +        return method_changed or update_payload_repos
>   
>       @property
>       def completed(self):
Forgot to put the bug number in the commit message. 999185 for RHEL7.


More information about the anaconda-patches mailing list