aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/key_value_typo.patch
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
commit70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (patch)
tree3a49460715f7319d100e0cc9c1a278758500c7c8 /debian/patches/key_value_typo.patch
downloadaptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.tar.gz
aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.zip
Import Upstream version 1.1.1+bzr982
Diffstat (limited to 'debian/patches/key_value_typo.patch')
-rw-r--r--debian/patches/key_value_typo.patch18
1 files changed, 18 insertions, 0 deletions
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 <justin.mcpherson@canonical.com>
+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()