clone 649220 -1
reassign -1 python-debian
retitle -1 Handle whitespaces-comma-whitespaces sequence in Uploaders field
block 649220 by -1
thanks


python-debian does not parse Uploaders field correctly when separated
by commas and multiple spaces in control file
$ cat */debian/control | grep Uploaders
Uploaders: Foo <f...@debian.org> , Bar <b...@debian.org>
$ python
>>> from debian.debfile import Deb822
>>> fields = Deb822(open('test_0.1.dsc', 'r'))
>>> print fields['Uploaders']
Foo <f...@debian.org> , Bar <b...@debian.org>

Other fields are parsed correctly:
root@debomatic64:/haha# cat */debian/control | grep Build-Depends:
Build-Depends: debhelper , quilt
$ python
>>> from debian.debfile import Deb822
>>> fields = Deb822(open('test_0.1.dsc', 'r'))
>>> print fields['Build-Depends']
debhelper, quilt

As you can see in the first example, fields are still separated by the
sequence of "space-comma-space"; in the second example, fields are
separated by the correct sequence of "comma-space".


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to