Public bug reported: Binary package hint: python-debian
I was trying to create a test case with a badly formatted changelog, only to find out that it didn't actually care when there was only a single entry. Specifically I tried to do: invalid_changelog = """\ psuedo-prog (1.1.1-2) unstable; urgency=low * New upstream release. * Awesome bug fixes. -- Joe Foo <j...@example.com> """ # Missing the date And cl = changelog.Changelog(invalid_changelog) Happily parses the content, but cl._blocks is empty. I'm guessing it needs a "there was trailing garbage" check. ** Affects: python-debian (Ubuntu) Importance: Undecided Status: New -- Changelog parser doesn't raise a failure if the last entry is malformatted https://bugs.launchpad.net/bugs/516798 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs