[wrap-and-sort] Drops commented lines inappropriately.

Bug #1215287 reported by Robert Bruce Park
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-debian (Debian)
Fix Released
Unknown
python-debian (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

So debian/control supports # comments, much like bash or python does, and comments are good! They help explain things to other maintainers. But wrap-and-sort just discards them like so much garbage. It should probably be fixed to preserve commented lines.

Changed in devscripts (Ubuntu):
importance: Undecided → Medium
Revision history for this message
James McCoy (jamessan) wrote :

devscripts uses python-debian to parse the control file and that is what is dropping the comments.

affects: devscripts (Ubuntu) → python-debian (Ubuntu)
Changed in python-debian (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-debian (Ubuntu):
status: New → Confirmed
Changed in python-debian (Debian):
status: New → Fix Released
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

This was fixed in version 0.1.23 and is available from bionic and on.

Changed in python-debian (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.