diff options
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index e7f1d915d..34e3c1859 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -473,8 +473,9 @@ class AnacondaYum(YumSorter): repo.baseurl = uri except RepoError: replace = False - else: - # If there was an error finding the "base" repo, create a new one now. + + # If there was an error finding the "base" repo, create a new one now. + if not replace: repo = AnacondaYumRepo("anaconda-%s-%s" % (rid, productStamp)) repo.baseurl = uri |