summaryrefslogtreecommitdiffstats
path: root/iw/task_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-26 17:01:38 -0400
committerJeremy Katz <katzj@redhat.com>2008-03-26 17:01:38 -0400
commit4bb7486a5dcd2f7b3eda39b3bd3e5b4de1ad476a (patch)
treea5898589604846095dfc37c716b996393bf75af9 /iw/task_gui.py
parentf36f680bcdd5209765106322c4c87881e60991e4 (diff)
downloadanaconda-4bb7486a5dcd2f7b3eda39b3bd3e5b4de1ad476a.tar.gz
anaconda-4bb7486a5dcd2f7b3eda39b3bd3e5b4de1ad476a.tar.xz
anaconda-4bb7486a5dcd2f7b3eda39b3bd3e5b4de1ad476a.zip
Ensure that we take into account new repos
When we change the baseurl (etc) of the repo, yum doesn't invalidate its idea of what the urls and grabber are. So invalidate them ourselves for now
Diffstat (limited to 'iw/task_gui.py')
-rw-r--r--iw/task_gui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iw/task_gui.py b/iw/task_gui.py
index c323c6b83..e7a8e3a70 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -207,6 +207,11 @@ class RepoEditor:
if not self._enableRepo(repourl):
continue
+ # this is a bit gross... but we need to make sure that
+ # the urls and grabber get set back up based on new urls
+ self.repo._grab = None
+ self.repo._urls = None
+
if not setupRepo(self.anaconda, self.repo):
continue