summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-29 17:14:20 -0400
committerChris Lumens <clumens@redhat.com>2008-09-29 17:14:20 -0400
commit3b6361410c12043d21a9a27fae18c0e43e2bd84f (patch)
tree96cd8d0fe5f0fedc60a8c9f324cc800d295e5672 /yuminstall.py
parente8e34b267981051f69d468f1cbeec4331bb24a26 (diff)
downloadanaconda-3b6361410c12043d21a9a27fae18c0e43e2bd84f.tar.gz
anaconda-3b6361410c12043d21a9a27fae18c0e43e2bd84f.tar.xz
anaconda-3b6361410c12043d21a9a27fae18c0e43e2bd84f.zip
Use the right attribute for repo URLs.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 06cc42d9e..9c7f9f5a4 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -461,7 +461,7 @@ class AnacondaYum(YumSorter):
else:
# If there was an error finding the "base" repo, create a new one now.
repo = AnacondaYumRepo("anaconda-%s-%s" % (rid, productStamp))
- repo.uri = [ uri ]
+ repo.baseurl = uri
repo.name = name
repo.cost = 100
@@ -579,7 +579,7 @@ class AnacondaYum(YumSorter):
rid = "anaconda-%s" % dirname
repo = AnacondaYumRepo(rid)
- repo.uri = [ "file:///%s" % d ]
+ repo.baseurl = [ "file:///%s" % d ]
repo.name = "Driver Disk %s" % dirname.split("-")[1]
repo.enable()
extraRepos.append(repo)
@@ -587,7 +587,7 @@ class AnacondaYum(YumSorter):
if self.anaconda.isKickstart:
for ksrepo in self.anaconda.id.ksdata.repo.repoList:
repo = AnacondaYumRepo(ksrepo.name)
- repo.uri = [ ksrepo.baseurl ]
+ repo.baseurl = [ ksrepo.baseurl ]
repo.mirrorlist = ksrepo.mirrorlist
repo.name = ksrepo.name