diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-04-02 14:17:20 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-04-02 14:17:20 +0200 |
| commit | 432e7c203151f1829f2dccb7a9f89290478580b9 (patch) | |
| tree | 3c75d4b1c074459ae0502771326ecdc35f4b6485 /apt | |
| parent | db5d0a6e3802c92ddd67bc685511a17944ce8a45 (diff) | |
| download | python-apt-432e7c203151f1829f2dccb7a9f89290478580b9.tar.gz | |
* fix error in invalid unicode handler (LP#99753)
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/package.py | 2 |
1 files changed, 1 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 == ".": |
