On Sat, 2008-03-29 at 17:02 +0100, Julian Andres Klode wrote:
> Package: python-debian
> Version: 0.1.9
> Severity: low
> Tags: patch
> 
> Currently, deb822 writes multivalued fields as 'checksum size filename', 
> whereas
> the official Release files use a specific width for the size:
> 

Hi,

Thanks for the patch.


> +                maxlen = sorted([len(str(item.get('size', '0'))) for
> item in array])[-1]

you might be interested in the builtin max()

Thanks,

James




Reply via email to