[Yum-devel] [PATCH 2/2] Skip displaying more useless-ish data in updateinfo (by default).
seth vidal
skvidal at fedoraproject.org
Thu Nov 4 17:26:23 UTC 2010
On Thu, 2010-11-04 at 13:14 -0400, James Antill wrote:
> ---
> yum/update_md.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/yum/update_md.py b/yum/update_md.py
> index 26a5a7a..56b5307 100644
> --- a/yum/update_md.py
> +++ b/yum/update_md.py
> @@ -75,7 +75,7 @@ class UpdateNotice(object):
> def __setitem__(self, item, val):
> self._md[item] = val
>
> - def text(self, skip_data=('files',)):
> + def text(self, skip_data=('files', 'summary', 'solution')):
> head = """
> ===============================================================================
> %(title)s
I don't see why not but I'm sure someone will kvetch that we're HIDING
DATA!
ACK
-sv
More information about the Yum-devel
mailing list