summaryrefslogtreecommitdiffstats
path: root/apt/cache.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:19:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:19:08 +0000
commite026c56d987d2bfb2bed3063b51178c69b271839 (patch)
tree4c2452811c7f6e20fe507073e413ed5b4c4ca93c /apt/cache.py
parentAdding upstream version 2.8.0. (diff)
downloadpython-apt-upstream.tar.xz
python-apt-upstream.zip
Adding upstream version 2.9.0.upstream/2.9.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py6
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