summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
Diffstat (limited to 'apt')
-rw-r--r--apt/package.py2
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 == ".":