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 | |
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')
-rw-r--r-- | apt/auth.py | 1 | ||||
-rw-r--r-- | apt/cache.py | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/apt/auth.py b/apt/auth.py index 6d50616..8ae5977 100644 --- a/apt/auth.py +++ b/apt/auth.py @@ -44,7 +44,6 @@ class AptKeyIDTooShortError(AptKeyError): class TrustedKey: - """Represents a trusted key.""" def __init__(self, name: str, keyid: str, date: str) -> None: 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 |