diff options
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index e75c93a24..ce970bb87 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -373,6 +373,7 @@ class AnacondaYum(YumSorter): rid = name.replace(" ", "") repo = AnacondaYumRepo(uri = uri, mirrorlist = mirror, repoid=rid, root = root) + repo.name = name repo.disable() self.repos.add(repo) @@ -664,14 +665,17 @@ class YumBackend(AnacondaBackend): if thisrepo is None: txt = _("Retrieving installation information...") else: - txt = _("Retrieving installation information for %s...")%(thisrepo) + txt = _("Retrieving installation information for %s...")%(thisrepo.name) waitwin = YumProgress(anaconda.intf, txt, tot) self.ayum.repos.callback = waitwin try: for (task, incr) in longtasks: waitwin.set_incr(incr) - task(thisrepo = thisrepo) + if thisrepo is None: + task(thisrepo = None) + else: + task(thisrepo = thisrepo.id) waitwin.next_task() waitwin.pop() except RepoError, e: |