diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:19:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:19:09 +0000 |
commit | 0f0b6cb0d26a33e98ef5858dfbe208e4a6267896 (patch) | |
tree | 0bab41c48c151d09abbae63ecff2fdee6a0ff421 /apt/cache.py | |
parent | Releasing progress-linux version 2.8.0-0.0~progress7.99u1. (diff) | |
download | python-apt-0f0b6cb0d26a33e98ef5858dfbe208e4a6267896.tar.xz python-apt-0f0b6cb0d26a33e98ef5858dfbe208e4a6267896.zip |
Merging upstream version 2.9.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt/cache.py')
-rw-r--r-- | apt/cache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt/cache.py b/apt/cache.py index cf78026..5893c0e 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -118,9 +118,9 @@ class Cache: self._callbacks2: dict[ str, list[tuple[Callable[..., Any], tuple[Any, ...], dict[Any, Any]]] ] = {} # noqa - self._weakref: weakref.WeakValueDictionary[ - str, apt.Package - ] = weakref.WeakValueDictionary() # noqa + self._weakref: weakref.WeakValueDictionary[str, apt.Package] = ( + weakref.WeakValueDictionary() + ) # noqa self._weakversions: weakref.WeakSet[Version] = weakref.WeakSet() # noqa self._changes_count = -1 self._sorted_set: list[str] | None = None |