From 432e7c203151f1829f2dccb7a9f89290478580b9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 2 Apr 2007 14:17:20 +0200 Subject: * fix error in invalid unicode handler (LP#99753) --- apt/package.py | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 Mon, 02 Apr 2007 00:02:53 +0200 -- cgit v1.2.3