Package: python-debian Version: 0.1.14 Severity: wishlist Hello,
I'm trying to improve some parts from Ubuntu's requestsync script (in ubuntu-dev-tools) and was looking if the Changelog class from python-debian is usable to replace the simple code from requestsync to copy new changelog entries from a existing Debian changelog into the sync bug. Unfortunately the Changelog class does only support adding new blocks but nothing to access existing changelog blocks or to iterate over the changelog blocks. I'd like to do something like this: ,---- | new_entries = "" | for block in changelog: | if block.version >= current_ubuntu_version: | new_entries += str(block) `---- Regards, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org