tags 428540 +pending thanks On Tue, Jun 12, 2007 at 02:38:31PM +0200, Alexandre Fayolle wrote: > Package: python-deb822 > Version: 0.2 > Severity: wishlist > Tags: patch > > Hi, > > I'm using python-deb822 and I would have liked to get support for > Release files as well in the package. The code I cooked for my need is > the following: > > import deb822 > class Release(deb822._multivalued): > _multivalued_fields = { > "MD5Sum": [ "md5sum", "size", "name" ], > "SHA1": [ "md5sum", "size", "name" ], > "SHA256": [ "md5sum", "size", "name" ], > } > > Having support for this kind of file directly in the package would be a > nice addition I think. > > Thanks for your time.
Alexandre, Thanks for the patch! I've implemented it slightly differently for consistency: """ class Release(_multivalued): _multivalued_fields = { "md5sum": [ "md5sum", "size", "name" ], "sha1": [ "sha1", "size", "name" ], "sha256": [ "sha256", "size", "name" ], } """ I'll ask my sponsor to upload version 0.3 soon. Thanks again, John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]