From 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Thu, 3 Aug 2023 16:33:41 +0600 Subject: Import Upstream version 1.1.1+bzr982 --- debian/patches/key_value_typo.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/key_value_typo.patch (limited to 'debian/patches/key_value_typo.patch') diff --git a/debian/patches/key_value_typo.patch b/debian/patches/key_value_typo.patch new file mode 100644 index 0000000..b286df1 --- /dev/null +++ b/debian/patches/key_value_typo.patch @@ -0,0 +1,18 @@ +Description: Remove trailing comma, was causing a TypeError. +Author: Justin McPherson +Forwarded: https://code.launchpad.net/~justinmcp/aptdaemon/1352654/+merge/243354 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1352654 +=== modified file 'aptdaemon/aptdaemon/worker/aptworker.py' +Index: aptdaemon-1.1.1+bzr982/aptdaemon/worker/aptworker.py +=================================================================== +--- aptdaemon-1.1.1+bzr982.orig/aptdaemon/worker/aptworker.py ++++ aptdaemon-1.1.1+bzr982/aptdaemon/worker/aptworker.py +@@ -1511,7 +1511,7 @@ class AptWorker(BaseWorker): + key = "APT::Periodic::AutocleanInterval" + return apt_pkg.config.find_i(key, 0) + elif option == "UnattendedUpgrade": +- key = "APT::Periodic::Unattended-Upgrade", ++ key = "APT::Periodic::Unattended-Upgrade" + return apt_pkg.config.find_b(key, False) + elif option == "GetPopconParticipation": + return self._get_popcon_pariticipation() -- cgit v1.2.3