summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/package.py b/apt/package.py
index c67540e6..810d9dcc 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -904,7 +904,7 @@ class Package(object):
Return a list of unicode names of the files which have
been installed by this package
"""
- for name in self.shortname, self.fullname:
+ for name in self.name, self.fullname:
path = "/var/lib/dpkg/info/%s.list" % name
try:
with open(path, "rb") as file_list: