Control: tags 1020093 + patch Control: tags 1020093 + pending Dear maintainer,
I've prepared an NMU for python-dlt (versioned as 2.0-3.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru python-dlt-2.0/debian/changelog python-dlt-2.0/debian/changelog --- python-dlt-2.0/debian/changelog 2021-02-11 00:22:19.000000000 +0200 +++ python-dlt-2.0/debian/changelog 2022-10-15 06:54:00.000000000 +0300 @@ -1,3 +1,10 @@ +python-dlt (2.0-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport E275 codestyle fixes. (Closes: #1020093) + + -- Adrian Bunk <b...@debian.org> Sat, 15 Oct 2022 06:54:00 +0300 + python-dlt (2.0-3) unstable; urgency=medium * Tighteen the dependency on dlt-daemon version 2.18.6 diff -Nru python-dlt-2.0/debian/patches/e275.patch python-dlt-2.0/debian/patches/e275.patch --- python-dlt-2.0/debian/patches/e275.patch 1970-01-01 02:00:00.000000000 +0200 +++ python-dlt-2.0/debian/patches/e275.patch 2022-10-15 06:54:00.000000000 +0300 @@ -0,0 +1,24 @@ +Description: Backport E275 codestyle fixes +Author: Adrian Bunk <b...@debian.org> +Bug-Debian: https://bugs.debian.org/1020093 + +--- python-dlt-2.0.orig/dlt/dlt_broker_handlers.py ++++ python-dlt-2.0/dlt/dlt_broker_handlers.py +@@ -62,7 +62,7 @@ class DLTContextHandler(Thread): + if filters: + with self.lock: + try: +- del(self.context_map[queue_id]) ++ del self.context_map[queue_id] + except KeyError: + pass + +@@ -149,7 +149,7 @@ class DLTMessageHandler(Process): + for apid_ctid in filters: + self.context_map[apid_ctid].remove(queue_id) + if not self.context_map[apid_ctid]: +- del(self.context_map[apid_ctid]) ++ del self.context_map[apid_ctid] + except (KeyError, ValueError): + # - queue_id already removed or not inserted + pass diff -Nru python-dlt-2.0/debian/patches/series python-dlt-2.0/debian/patches/series --- python-dlt-2.0/debian/patches/series 2021-02-11 00:20:39.000000000 +0200 +++ python-dlt-2.0/debian/patches/series 2022-10-15 06:54:00.000000000 +0300 @@ -2,3 +2,4 @@ ignore_pylint_file.diff git-updates.patch 27.patch +e275.patch