[update-maintainer] KeyError: '# psmisc just for exiwhat.\n'

Bug #713827 reported by Artur Rona
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-debian (Ubuntu)
New
Undecided
Unassigned
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

$ update-maintainer
The original maintainer is: Exim4 Maintainers <email address hidden>
Resetting as: Ubuntu Developers <email address hidden>
Traceback (most recent call last):
  File "/usr/bin/update-maintainer", line 43, in <module>
    main()
  File "/usr/bin/update-maintainer", line 40, in main
    sys.exit(update_maintainer(options.debian_directory, not options.quiet))
  File "/usr/lib/python2.7/dist-packages/ubuntutools/update_maintainer.py", line 102, in update_maintainer
    control.save()
  File "/usr/lib/python2.7/dist-packages/ubuntutools/control.py", line 61, in save
    content = u"\n".join([x.dump() for x in self.paragraphs])
  File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 406, in dump
    value = self.get_as_string(key)
  File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 381, in get_as_string
    return unicode(self[key])
  File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 178, in __getitem__
    value = self.__parsed[key]
  File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 62, in __getitem__
    raise KeyError(key)
KeyError: '# psmisc just for exiwhat.\n'

Revision history for this message
Artur Rona (ari-tczew) wrote :
Revision history for this message
Artur Rona (ari-tczew) wrote :

Reproduced on this control file. Origin: exim4 merged from experimental.

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.121

---------------
ubuntu-dev-tools (0.121) unstable; urgency=low

  [ Daniel Holbach ]
  * harvest, setup.py: install tool that queries Harvest for information
    about open opportunities for a given source package.

  [ Stefano Rivera ]
  * ubuntutools.archive.rmadison: suite can be None, handle this correctly.
  * pull-debian-debdiff: Convert distance to an integer, so it works when
    specified.
  * sponsor-patch, doc/sponsorpatch.1: Clarify that --upload or --workdir is
    required. (LP: #712721)
  * Drop Breaks: ${python:Breaks}, no longer used by dh_python2.

  [ Benjamin Drung ]
  * ubuntutools.update-maintainer: Do not use python-debian to parse
    debian/control to avoid mangling this file (LP: #756373). The new
    simplified parser has no problems with comments in debian/control
    (LP: #701487, #713827).
  * doc/setup-packaging-environment.1: Fix typo.
  * Bump Standards-Version to 3.9.2 (no changes required).
  * Drop transitional qemu-kvm-extras-static from alternative suggests.

  [ Ted Gould ]
  * lp-project-upload: Use a milestone that already exists if there is
    one to use.
 -- Benjamin Drung <email address hidden> Tue, 19 Apr 2011 13:05:30 +0000

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → 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.