Bug#487902: deb822.Changes has incorrect multivalued fields

John Wright jsw at debian.org
Wed Jun 25 04:22:37 UTC 2008


package python-debian
tags 487902 + pending
thanks

Hi Jonny,

On Wed, Jun 25, 2008 at 02:17:22AM +0100, Jonny Lamb wrote:
> The Changes class has incorrect multivalued fields for Checksums-Sha1
> and Checksums-Sha256. They expect the same as Files, but they actually
> omit the section and priority.
> 
> Calling Changes.dump() fails with a "KeyError: priority" on a changes
> file with Checksums-Sha* fields. If the changes file is manually altered
> to include these fields, dump() works, but lintian fails badly.

Whoops!  Thanks for catching this...

> I attach a patch to fix this.

Thank you!  I've applied the patch in source control.

-- 
John Wright <jsw at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20080624/a9a197b5/attachment.pgp 


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