Control: tags -1 patch pending

Dear maintainer,

I've prepared an NMU for unattended-upgrades (versioned as 2.12+nmu1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it.

Thanks,

--
Colin Watson (he/him)                              [[email protected]]
diffstat for unattended-upgrades-2.12 unattended-upgrades-2.12+nmu1

 debian/changelog      |    8 ++++++++
 unattended-upgrade    |    1 -
 unattended_upgrade.py |    1 -
 3 files changed, 8 insertions(+), 2 deletions(-)

diff -Nru unattended-upgrades-2.12/debian/changelog unattended-upgrades-2.12+nmu1/debian/changelog
--- unattended-upgrades-2.12/debian/changelog	2025-01-01 17:22:25.000000000 +0000
+++ unattended-upgrades-2.12+nmu1/debian/changelog	2026-01-22 11:03:52.000000000 +0000
@@ -1,3 +1,11 @@
+unattended-upgrades (2.12+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove unnecessary `global` statement, fixing flake8 test (closes:
+    #1125393).
+
+ -- Colin Watson <[email protected]>  Thu, 22 Jan 2026 11:03:52 +0000
+
 unattended-upgrades (2.12) unstable; urgency=medium
 
   [ middlingphys ]
diff -Nru unattended-upgrades-2.12/unattended-upgrade unattended-upgrades-2.12+nmu1/unattended-upgrade
--- unattended-upgrades-2.12/unattended-upgrade	2025-01-01 17:22:25.000000000 +0000
+++ unattended-upgrades-2.12+nmu1/unattended-upgrade	2026-01-22 11:03:52.000000000 +0000
@@ -875,7 +875,6 @@
 
 def log_once(msg):
     # type: (str) -> None
-    global logged_msgs
     if msg not in logged_msgs:
         logging.info(msg)
         logged_msgs.add(msg)  # type: ignore
diff -Nru unattended-upgrades-2.12/unattended_upgrade.py unattended-upgrades-2.12+nmu1/unattended_upgrade.py
--- unattended-upgrades-2.12/unattended_upgrade.py	2025-01-01 17:22:25.000000000 +0000
+++ unattended-upgrades-2.12+nmu1/unattended_upgrade.py	2026-01-22 11:03:52.000000000 +0000
@@ -875,7 +875,6 @@
 
 def log_once(msg):
     # type: (str) -> None
-    global logged_msgs
     if msg not in logged_msgs:
         logging.info(msg)
         logged_msgs.add(msg)  # type: ignore

Reply via email to