diff options
author | Michael Vogt <mvo@ubuntu.com> | 2015-05-22 12:46:15 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2015-05-22 12:46:15 +0200 |
commit | 1dabbd8dda5ce7d41b68e5150db4a5fd2877fa18 (patch) | |
tree | 1f8b42ec58dbbce8976bcfd1ec3b23b413185fde | |
parent | 83d876034f5bd74f007376f2cefc98cae77a5a94 (diff) | |
download | python-apt-1dabbd8dda5ce7d41b68e5150db4a5fd2877fa18.tar.gz |
Fix apt.Package.installed_files for multi-arch packages
Thanks to Michael Schaller
LP: #1313699
-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 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: |