On Thu, 11 Feb 2016 14:49:28 -0200 Herbert Fortes (hpfn)
<h...@ig.com.br> wrote:
> Package: devscripts
> Version: 2.15.10
> Severity: wishlist
> File: /usr/bin/wrap-and-sort
> 
> Hi,
> 
> The wrap-and-sort script has:
> 
> def remove_trailing_whitespaces(filename):
> 
> But it doesn't remove double or more spaces
> inside a line. e.g:
> 
> ' text which belongs to     long description.   End of line'
> 
> I'm not a programmer, but I did a search and added
> a line to do that. I copied these lines and made a
> test:
> 
> [...]
> 
> 
> The line I added doesn't remove all spaces at the 
> end of the line. That's why two for loops. It works
> in a separate test script. But I put it in wrap-and-sort
> and it didn't.
> 
> It can be useful for long description in debian/control.
> I don't know about the others files.
> 
> 
> regards,
> -- 
> Herbert Parentes Fortes Neto (hpfn)
> 
> 


Adding my cents to this. I do not feel that wrap-and-sort should touch
`Description` at all.  It is a free form field and we cannot say when
there is legitimate use-case for multiple spaces in a row.

On the flip side, the dependency field that pabs mentioned would be fine
to fix.

Thanks,
~Niels

Reply via email to