[master/f20/rhel7] Update source on errors (#1030997)
Brian C. Lane
bcl at redhat.com
Wed Nov 27 00:11:14 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
If the source spoke has errors, treat it as if the source has been
changed and re-fetch metadata. eg. If the network was down this allows
the users to force it to fetch the metadata by re-entering the spoke
once the network is back up.
Resolves: rhbz#1030997
---
pyanaconda/ui/gui/spokes/source.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index f9b5658..62c7838 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -456,7 +456,7 @@ class SourceSpoke(NormalSpoke):
def changed(self):
method_changed = self._method_changed()
update_payload_repos = self._update_payload_repos()
- return method_changed or update_payload_repos
+ return method_changed or update_payload_repos or self._error
@property
def completed(self):
--
1.8.3.1
More information about the anaconda-patches
mailing list