Bug#473259: python-debian: Please follow official release files for size in multivalued fields

James Westby jw+debian at jameswestby.net
Sat Mar 29 16:35:11 UTC 2008


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







More information about the pkg-python-debian-maint mailing list