diff options
author | Chris Lumens <clumens@redhat.com> | 2007-11-28 14:53:01 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-11-28 15:12:33 -0500 |
commit | 1d3dd0098663d5208e8667c31fdb9bd578a289f5 (patch) | |
tree | dc51880e262497f35bb0d339fcd4aa702e2ac5ae /yuminstall.py | |
parent | c5b08b826f9a8f281a19208c9571dfd5da9cf5a3 (diff) | |
download | anaconda-1d3dd0098663d5208e8667c31fdb9bd578a289f5.tar.gz anaconda-1d3dd0098663d5208e8667c31fdb9bd578a289f5.tar.xz anaconda-1d3dd0098663d5208e8667c31fdb9bd578a289f5.zip |
Fix printing of added repo URLs so they don't show up as None in the log.
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index bdcee1e51..f50679e4b 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -347,9 +347,9 @@ class AnacondaYum(YumSorter): for repo in extraRepos: try: self.repos.add(repo) - log.info("added repository %s with source URL %s" % (repo.name, repo.baseurl or repo.mirrorlist)) + log.info("added repository %s with URL %s" % (repo.name, repo.mirrorlist or repo.baseurl)) except yum.Errors.DuplicateRepoError, e: - log.warning("ignoring duplicate repository %s with source URL %s" % (repo.name, repo.baseurl or repo.mirrorlist)) + log.warning("ignoring duplicate repository %s with URL %s" % (repo.name, repo.mirrorlist or repo.baseurl)) self.doPluginSetup(searchpath=["/usr/lib/yum-plugins", "/tmp/updates/yum-plugins", |