diff options
author | dlehman <dlehman> | 2007-09-17 16:13:07 +0000 |
---|---|---|
committer | dlehman <dlehman> | 2007-09-17 16:13:07 +0000 |
commit | 6ef01d336275be2822ae170631e731596ff8b03f (patch) | |
tree | e50c63de0f993e75c1a388f4408dd085986faf2f /yuminstall.py | |
parent | 76122bd08c2e2b2e2780a32478c2318b99edbda0 (diff) | |
download | anaconda-6ef01d336275be2822ae170631e731596ff8b03f.tar.gz anaconda-6ef01d336275be2822ae170631e731596ff8b03f.tar.xz anaconda-6ef01d336275be2822ae170631e731596ff8b03f.zip |
* yuminstall.py (YumBackend.doRepoSetup): catch the exception string
raised with NoMoreMirrorsRepoError for display in the error message so
we don't traceback
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index 71a213ab8..e0785b564 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -655,7 +655,7 @@ class YumBackend(AnacondaBackend): task(thisrepo = repo.id) waitwin.next_task() waitwin.pop() - except yum.Errors.NoMoreMirrorsRepoError: + except yum.Errors.NoMoreMirrorsRepoError, e: buttons = [_("_Abort"), _("_Retry")] except yum.Errors.RepoError, e: buttons = [_("_Abort")] |