summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@glatzor.de>2008-08-28 08:56:14 +0200
committerSebastian Heinlein <sebi@glatzor.de>2008-08-28 08:56:14 +0200
commitbfad41ee6621f13278b29dda8a2c12997c23e9d9 (patch)
tree3dc7ed805f80c31d5261ca759a15c6a91d1f384b /apt
parent9f4ab37f5f7736c112fbbb1c157321cdc3c0570f (diff)
downloadpython-apt-bfad41ee6621f13278b29dda8a2c12997c23e9d9.tar.gz
Fix: not installed files can have installed files
Diffstat (limited to 'apt')
-rw-r--r--apt/package.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/apt/package.py b/apt/package.py
index 3eb692d8..f63c13de 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -380,8 +380,6 @@ class Package(object):
Return the list of unicode names of the files which have
been installed by this package
"""
- if not self.isInstalled:
- return []
path = "/var/lib/dpkg/info/%s.list" % self.name
try:
list = open(path)