From 0f0b6cb0d26a33e98ef5858dfbe208e4a6267896 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:19:09 +0200 Subject: Merging upstream version 2.9.0. Signed-off-by: Daniel Baumann --- apt/cache.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apt/cache.py') 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 -- cgit v1.2.3