[PATCH f18-branch] Don't redownload payload from closest mirror only if we actually have some (#892665)
Radek Vykydal
rvykydal at redhat.com
Tue Jan 8 13:11:00 UTC 2013
Follow-up of commit fc0ed882a0507794685d4eaad28ddbe78dad9e6c
---
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 c60d965..01b7ddc 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -472,7 +472,7 @@ class SourceSpoke(NormalSpoke):
elif self._mirror_active():
# this preserves the url for later editing
self.data.method.method = None
- if not old_source.method:
+ if not old_source.method and self.payload.baseRepo:
return
elif self._http_active() or self._ftp_active():
url = self._urlEntry.get_text().strip()
--
1.7.11.7
More information about the anaconda-patches
mailing list