diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-03-26 17:01:38 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-03-26 17:01:38 -0400 |
commit | 4bb7486a5dcd2f7b3eda39b3bd3e5b4de1ad476a (patch) | |
tree | a5898589604846095dfc37c716b996393bf75af9 /iw/task_gui.py | |
parent | f36f680bcdd5209765106322c4c87881e60991e4 (diff) | |
download | anaconda-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.py | 5 |
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 |