diff options
author | 2023-08-26 16:01:54 +0600 | |
---|---|---|
committer | 2023-08-26 16:01:54 +0600 | |
commit | 22b47d8f27c3d4558f1df2d79cad7a63fd7cc871 (patch) | |
tree | 4f9e55dec008a3f1de61cabfb577fe254ae6e36e /debian/patches/allow-unauthenticated.patch | |
parent | 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (diff) | |
download | aptdaemon-22b47d8f27c3d4558f1df2d79cad7a63fd7cc871.tar.gz aptdaemon-22b47d8f27c3d4558f1df2d79cad7a63fd7cc871.zip |
Drop unused patches
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to 'debian/patches/allow-unauthenticated.patch')
-rw-r--r-- | debian/patches/allow-unauthenticated.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/patches/allow-unauthenticated.patch b/debian/patches/allow-unauthenticated.patch deleted file mode 100644 index 7c84232..0000000 --- a/debian/patches/allow-unauthenticated.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Forward allow_unauthenticated to python-apt - Forward the allow_unauthenticated flag to python-apt so packages can continue - to be downloaded without them being authenticated, avoiding breakage with recent - python-apt uploads. -Author: Julian Andres Klode <juliank@ubuntu.com> -Origin: vendor -Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1858973 ---- a/aptdaemon/worker/aptworker.py -+++ b/aptdaemon/worker/aptworker.py -@@ -1068,7 +1068,12 @@ class AptWorker(BaseWorker): - end=install_range[1]) - with self._frozen_status(): - try: -- self._cache.commit(fetch_progress, inst_progress) -+ # This was backported as -+ if "allow_unauthenticated" in apt.Cache.commit.__doc__: -+ self._cache.commit(fetch_progress, inst_progress, -+ allow_unauthenticated=trans.allow_unauthenticated) -+ else: -+ self._cache.commit(fetch_progress, inst_progress) - except apt.cache.FetchFailedException as error: - raise TransactionFailed(ERROR_PACKAGE_DOWNLOAD_FAILED, - str(error)) |