diff options
| author | Sebastian Heinlein <devel@glatzor.de> | 2009-08-21 15:26:31 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-08-21 15:26:31 +0200 |
| commit | a65009779237610d6be290222aeb69af8b19ad34 (patch) | |
| tree | 7b3f232cf8d7a3ec2d57bfafef5a36438ee124c3 /apt/cache.py | |
| parent | e2d814ffc20e231a3b8201f7d66145939c99174c (diff) | |
| download | python-apt-a65009779237610d6be290222aeb69af8b19ad34.tar.gz | |
apt/cache.py: Fix the (inst|keep|broken|del)_count attributes (Closes: #542773).
Diffstat (limited to 'apt/cache.py')
| -rw-r--r-- | apt/cache.py | 8 |
1 files changed, 4 insertions, 4 deletions
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): |
