Public bug reported:

Binary package hint: python-debian

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 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.

** Affects: python-debian (Ubuntu)
     Importance: Low
         Status: Triaged

** Affects: python-debian (Ubuntu Hardy)
     Importance: Undecided
         Status: New

** Affects: python-debian (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #501927
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501927

** Also affects: python-debian (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501927
   Importance: Unknown
       Status: Unknown

** Changed in: python-debian (Ubuntu)
   Importance: Undecided => Low
       Status: New => Triaged

-- 
debian_bundle.debian_support doesn't support control files with empty lines 
containing a space
https://bugs.launchpad.net/bugs/281833
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

Reply via email to