debian_bundle.debian_support doesn't support control files with empty lines containing a space
Bug #281833 reported by
Siegfried Gevatter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-debian (Debian) |
Fix Released
|
Unknown
|
|||
python-debian (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Hardy |
Fix Released
|
Low
|
Siegfried Gevatter |
Bug Description
Binary package hint: python-debian
Parsing hundreds of debian/control files from REVU (Ubuntu's "New
Package Review Platform") using debian_
out that it failed with many of them because they have 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.
Changed in python-debian: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in python-debian: | |
status: | Unknown → New |
Changed in python-debian (Ubuntu Hardy): | |
status: | In Progress → Fix Released |
Changed in python-debian (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in python-debian (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Reverse Depends: ubuntu-dev-tools apt-xapian-index ubuntu-dev-tools piuparts edos-debcheck debtorrent dctrl2xml bzr-builddeb apt-p2p
Reverse Build-Depends: bzr-builddeb