[Yum-devel] [PATCH] Kill blank lines in search output
seth vidal
skvidal at fedoraproject.org
Mon Oct 29 13:49:41 UTC 2007
On Thu, 2007-10-18 at 16:52 -0400, James Antill wrote:
> On Thu, 2007-10-18 at 15:27 -0400, seth vidal wrote:
> > On Thu, 2007-10-18 at 13:41 -0400, James Antill wrote:
> > > In current search results for some packages the summary line has a '\n'
> > > at the end, so you get blank lines. Attached is a simple patch to fix
> > > that up.
> > >
> > > I've attached it and it can be merged from:
> > >
> > > git pull http://people.redhat.com/jantill/gits/yum search-empty-lines
> >
> > couldn't it just be:
> > summary = summary.replace('\n','')
> >
> > summary's should never be multiline anyway.
>
> Sure, that's fine by me. I've also moved the change to a more generic
> location.
applied.
-sv
More information about the Yum-devel
mailing list