The problem is that python-debian
(debian.deb822.Deb822.iter_paragraphs()) doesn't support comments in
debian/control. It crashed if I want to print the paragraphs in
Control.__init__ (ubuntutools/control.py):
Traceback (most recent call last):
File "ubuntu-dev-tools/update-maintainer", line 43, in <module>
main()
File "ubuntu-dev-tools/update-maintainer", line 40, in main
sys.exit(update_maintainer(options.debian_directory, not options.quiet))
File "ubuntu-dev-tools/ubuntutools/update_maintainer.py", line 67, in
update_maintainer
control = Control(control_file)
File "ubuntu-dev-tools/ubuntutools/control.py", line 47, in __init__
print paragraph
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 348, in __str__
return self.dump()
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 387, in dump
value = self.get_as_string(key)
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 362, in
get_as_string
return unicode(self[key])
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 173, in __getitem__
value = self.__parsed[key]
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 57, in __getitem__
raise KeyError(key)
KeyError: '# This file is autogenerated. DO NOT EDIT!\n'
** Also affects: python-debian (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701487
Title:
[update-maintainer] No Maintainer field found in ./debian/control.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs