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

David Shea dshea at redhat.com
Tue Aug 20 21:50:30 UTC 2013


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):
-- 
1.8.3.1



More information about the anaconda-patches mailing list