summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 01c12c94..cd9c5fe9 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -90,9 +90,7 @@ class Cache(object):
last=i
# drop stuff with no versions (cruft)
if len(pkg.VersionList) > 0:
- self._dict[pkg.Name] = Package(self._cache, self._depcache,
- self._records, self._list,
- self, pkg)
+ self._dict[pkg.Name] = Package(self, pkg)
i += 1
if progress is not None: