Package: python-debian
Severity: normal
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid patch
Hello,
Parsing hundreds of debian/control files from REVU (Ubuntu's "New
Package Review Platform") using debian_support.PackageFile, I've found
out that it failed with many of them have they had a space between
different Package stanzas (that is, " \n" instead of just "\n").
Therefore, line «if line == '\n':» (line 110, function __iter__)
should be «if line.strip(' ') == '\n':» instead, so that it handles
that case gracefully.
Kind regards,
--
Siegfried-Angel Gevatter Pujals (RainCT)
Ubuntu Developer. Debian Contributor.