[Yum-devel] [PATCH] yummain.py: change e to e.value in to_unicode function
Seth Vidal
skvidal at fedoraproject.org
Mon Apr 27 15:46:27 UTC 2009
On Thu, 8 Jan 2009, WangLi wrote:
>
> Dear, all
>
> When gpgcheck is enabled in repo file but the rpm packages are not signed, yum will donot install the message and have no
> any message using 'yum install packagename'.The following patch will solve the problem:
>
>
> --- yum-3.2.19/yummain.py.old 2009-01-06 13:18:15.000000000 +0800
>
> +++ yum-3.2.19/yummain.py 2009-01-06 13:24:15.000000000 +0800
>
> @@ -60,7 +60,7 @@
>
> return 1
>
> def exFatal(e):
>
> - logger.critical('\n\n%s', to_unicode(e))
>
> + logger.critical('\n\n%s', to_unicode(e.value))
>
> if unlock(): return 200
>
> return 1
>
for some reason I skipped this patch back in january and cleaning up my
email today I found and applied it.
-sv
More information about the Yum-devel
mailing list