[Yum-devel] [PATCH 2/2] and make sure the url and exception are using the 'proper' ones.

Seth Vidal skvidal at fedoraproject.org
Thu Oct 29 15:26:19 UTC 2009


---
 yum/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 975bb01..b7eec25 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -3732,7 +3732,7 @@ class YumBase(depsolve.Depsolve):
             keys_info = misc.getgpgkeyinfo(rawkey, multiple=True)
         except ValueError, e:
             raise Errors.YumBaseError(_('Invalid GPG Key from %s: %s') % 
-                                      (keyurl, str(e)))
+                                      (url, to_unicide(str(e))))
         keys = []
         for keyinfo in keys_info:
             thiskey = {}
-- 
1.6.2.5



More information about the Yum-devel mailing list