Package: apt-listchanges
Version: 2.78
Followup-For: Bug #455704

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I fixed the error using ugettext() instead of lgettext().
Now there is no encoding error anymore.

Regards,
  Bastian

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23treasure1 (PREEMPT)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-listchanges depends on:
ii  apt                           0.7.9      Advanced front-end for dpkg
ii  debconf [debconf-2.0]         1.5.17     Debian configuration management sy
ii  debianutils                   2.28.2     Miscellaneous utilities specific t
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-apt                    0.7.4      Python interface to libapt-pkg
ii  python-support                0.7.5      automated rebuilding support for p
ii  ucf                           3.004      Update Configuration File: preserv

Versions of packages apt-listchanges recommends:
ii  python-glade2       2.12.0-2             GTK+ bindings: Glade support
ii  python-gtk2         2.12.0-2             Python bindings for the GTK+ widge
ii  qmail-run [mail-tra 1.03+calvin-0calvin3 Secure, reliable, efficient, simpl

- -- debconf information:
* apt-listchanges/confirm: false
* apt-listchanges/email-address: root
* apt-listchanges/which: both
* apt-listchanges/frontend: mail
* apt-listchanges/overwrite_etc_apt_listchanges_conf: true
* apt-listchanges/save-seen: true

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHX7XKeBwlBDLsbz4RAqOvAJ9SwPs/htS7l2ohthQqzjQub9FfRACg0Gpb
eKQ5DeoYHskTfxVdIQDmcTw=
=ENuO
-----END PGP SIGNATURE-----
--- ALChacks.py.orig    2007-12-12 11:16:56.000000000 +0100
+++ ALChacks.py 2007-12-12 10:07:03.000000000 +0100
@@ -33,7 +33,7 @@
 
 def _(x):
     try:
-        return gettext.translation('apt-listchanges').lgettext(x)
+        return gettext.translation('apt-listchanges').ugettext(x)
     except: return x
 
 # forcibly export _

Reply via email to