diff options
author | Chris Lumens <clumens@redhat.com> | 2008-08-29 16:34:14 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-08-29 16:34:25 -0400 |
commit | beacedf3ac354c980c2d913729c9a4568100e0cb (patch) | |
tree | 0ce87d4745b7692b8fee01ce12369c1bf8573fef | |
parent | d7c3d65f3428b7f111e56fb22223c3c61a9fbc84 (diff) | |
download | anaconda-beacedf3ac354c980c2d913729c9a4568100e0cb.tar.gz anaconda-beacedf3ac354c980c2d913729c9a4568100e0cb.tar.xz anaconda-beacedf3ac354c980c2d913729c9a4568100e0cb.zip |
Fix a typo that was causing repos in the kickstart file to be skipped (#451020).
-rw-r--r-- | yuminstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index 6f5063b3d..decdcbc90 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -252,7 +252,7 @@ class AnacondaYumRepo(YumRepository): else: self.baseurl = [] - if mirrorlist: + if self.mirrorlist and self.mirrorlist != "": self.mirrorlist = mirrorlist def needsNetwork(self): @@ -621,7 +621,7 @@ class AnacondaYum(YumSorter): repo.enable() extraRepos.append(repo) - for repos in extraRepos: + for repo in extraRepos: try: self.repos.add(repo) log.info("added repository %s with URL %s" % (repo.name, repo.mirrorlist or repo.baseurl)) |