Bug#473793: python-debian: add support for parsing removals.txt

Stuart Prescott stuart at debian.org
Tue Jun 14 14:02:10 UTC 2016


Control: tags -1 + patch

Hi!

Here's a first attempt at wrapping the interpretation of ftp-master removals 
via removals.822. Like other file formats derived from Deb822, the probable 
usage would be via an iterator of paragraphs:

	removals = deb822.Removals.iter_paragraphs(f)

As for how much of the removals information should be parsed into classes, 
that's always up for debate and opinions are welcome.

cheers
Stuart


-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart at nanonanonano.net
Debian Developer   http://www.debian.org/         stuart at debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-parsing-ftp-master-removals.patch
Type: text/x-patch
Size: 15848 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20160615/6fa93b7f/attachment-0001.bin>


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