From a65009779237610d6be290222aeb69af8b19ad34 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Fri, 21 Aug 2009 15:26:31 +0200 Subject: apt/cache.py: Fix the (inst|keep|broken|del)_count attributes (Closes: #542773). --- apt/cache.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apt/cache.py') diff --git a/apt/cache.py b/apt/cache.py index 33d55368..bc1d1160 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -344,22 +344,22 @@ class Cache(object): @property def broken_count(self): """Return the number of packages with broken dependencies.""" - return self._depcache.broken_count + return self._depcache.BrokenCount @property def delete_count(self): """Return the number of packages marked for deletion.""" - return self._depcache.del_count + return self._depcache.DelCount @property def install_count(self): """Return the number of packages marked for installation.""" - return self._depcache.inst_count + return self._depcache.InstCount @property def keep_count(self): """Return the number of packages marked as keep.""" - return self._depcache.keep_count + return self._depcache.KeepCount class ProblemResolver(object): -- cgit v1.2.3