[PATCH 2/2] Fix the "repo failed" message formatting.

Zdenek Pavlas zpavlas at redhat.com
Mon Sep 30 09:47:14 UTC 2013


---
 yummain.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/yummain.py b/yummain.py
index f0b29ff..daac52a 100755
--- a/yummain.py
+++ b/yummain.py
@@ -70,13 +70,13 @@ def main(args):
 
     def exRepoError(e):
         # For RepoErrors ... help out by forcing new repodata next time.
+        # XXX: clean only the repo that has failed?
         base.cleanExpireCache()
 
         msg = _("""\
  One of the configured repositories failed (%(repo)s),
-and yum doesn't have enough cached data to continue. At this point the only
-afe thing yum can do is fail.
- There are a few ways to work "fix" this:
+ and yum doesn't have enough cached data to continue. At this point the only
+ safe thing yum can do is fail. There are a few ways to work "fix" this:
 
      1. Contact the upstream for the repository and get them to fix the problem.
 
-- 
1.7.11.7



More information about the Yum-devel mailing list