diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-06-20 21:26:23 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-06-20 21:26:23 +0000 |
| commit | c25600f6cfb209dde14fbfc17aaef78519411a30 (patch) | |
| tree | fb9e5b57e2404b76e568689b7d719461d5f10e90 /apt/cache.py | |
| parent | 33c18310943c8ee582fe57b1295e753f417d5eb8 (diff) | |
| download | python-apt-c25600f6cfb209dde14fbfc17aaef78519411a30.tar.gz | |
* added support for the pkgProblemResolver()
Diffstat (limited to 'apt/cache.py')
| -rw-r--r-- | apt/cache.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py index 39dca925..9852f26f 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -142,11 +142,13 @@ class FilteredCache(object): " set the current active filter " self._filters = [] self._filters.append(filter) - self._reapplyFilter() + #self._reapplyFilter() + # force a cache-change event that will result in a refiltering + self.cache.CachePostChange() def FilterCachePostChange(self): " called internally if the cache changes, emit a signal then " - print "FilterCachePostChange()" + #print "FilterCachePostChange()" self._reapplyFilter() # def connect(self, name, callback): |
