~mvo/aptdaemon/lp1044900

« back to all changes in this revision

Viewing changes to aptdaemon/enums.py

  • Committer: Sebastian Heinlein
  • Date: 2012-06-12 07:56:54 UTC
  • Revision ID: devel@glatzor.de-20120612075654-kov653l05j1rtj9v
Fix package status enum description for an unknown status which resulted
in a type mismatch in the gettext call (fixes LP: #900982)

Show diffs side-by-side

added added

removed removed

Lines of Context:
673
673
    try:
674
674
        return STRINGS_PKG_STATUS[enum]
675
675
    except KeyError:
676
 
        return _("Processing %s"),
 
676
        return _("Processing %s")
677
677
 
678
678
STRINGS_DOWNLOAD = {
679
679
    DOWNLOAD_DONE: _("Done"),