Bug#585393: Control file parsing broken by comment and blank line

2023-01-12 Thread Dee Holtsclaw (BLOOMBERG/ 919 3RD A)
If a debian/control file containing a comment line followed by a blank line is processed by Sources.iter_paragraphs with use_apt_pkg=False, it silently fails to iterate stanzas. Processing the same file with Packages.iter_paragraphs succeeds. Stripping either the comment or the blank line

Bug#585393: Control file parsing broken by comment and blank line

2023-01-12 Thread Dee Holtsclaw (BLOOMBERG/ 919 3RD A)
If a debian/control file containing a comment line followed by a blank line is processed by Sources.iter_paragraphs with use_apt_pkg=False, it silently fails to iterate stanzas. Processing the same file with Packages.iter_paragraphs succeeds. Stripping either the comment or the blank line