summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-04-02 14:17:20 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-04-02 14:17:20 +0200
commit432e7c203151f1829f2dccb7a9f89290478580b9 (patch)
tree3c75d4b1c074459ae0502771326ecdc35f4b6485
parentdb5d0a6e3802c92ddd67bc685511a17944ce8a45 (diff)
downloadpython-apt-432e7c203151f1829f2dccb7a9f89290478580b9.tar.gz
* fix error in invalid unicode handler (LP#99753)
-rw-r--r--apt/package.py2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/apt/package.py b/apt/package.py
index f7a1a8ac..b82f1aa0 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -223,7 +223,7 @@ class Package(object):
s = unicode(self._records.LongDesc,"utf-8")
except UnicodeDecodeError,e:
s = _("Invalid unicode in description for '%s' (%s). "
- "Please report.") % (name,e)
+ "Please report.") % (self.name,e)
for line in string.split(s,"\n"):
tmp = string.strip(line)
if tmp == ".":
diff --git a/debian/changelog b/debian/changelog
index 2d40777f..2a76e7f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-apt (0.6.20ubuntu15) unstable; urgency=low
[ Sebastian Heinlein ]
* Update the mirror lists from Launchpad
* Only include http and ftp servers - LP#99060
+ [Michael Vogt]
+ * fix error in invalid unicode handler (LP#99753)
-- Sebastian Heinlein <glatzor@ubuntu.com> Mon, 02 Apr 2007 00:02:53 +0200