diff -Nru software-properties-0.96.24.32.21/debian/changelog software-properties-0.96.24.32.22/debian/changelog --- software-properties-0.96.24.32.21/debian/changelog 2023-02-03 11:31:57.000000000 +0000 +++ software-properties-0.96.24.32.22/debian/changelog 2023-02-16 20:10:38.000000000 +0000 @@ -1,3 +1,10 @@ +software-properties (0.96.24.32.22) bionic; urgency=medium + + [ Nathan Pratta Teodosio ] + * fix a problem in the fix backported in the previous revision + + -- Sebastien Bacher Thu, 16 Feb 2023 21:10:38 +0100 + software-properties (0.96.24.32.21) bionic; urgency=medium [ Nathan Pratta Teodosio ] diff -Nru software-properties-0.96.24.32.21/softwareproperties/gtk/DialogUaAttach.py software-properties-0.96.24.32.22/softwareproperties/gtk/DialogUaAttach.py --- software-properties-0.96.24.32.21/softwareproperties/gtk/DialogUaAttach.py 2023-02-03 11:31:57.000000000 +0000 +++ software-properties-0.96.24.32.22/softwareproperties/gtk/DialogUaAttach.py 2023-02-16 20:10:38.000000000 +0000 @@ -173,7 +173,8 @@ print("Error retrieving magic token: ", e) return self.update_state() - threading.Thread(target=self.poll_for_magic_token, daemon=True).start() + self.poll = threading.Thread(target=self.poll_for_magic_token, daemon=True) + self.poll.start() def on_radio_toggled(self, button): self.update_state() @@ -193,7 +194,8 @@ self.start_magic_attach() elif self.poll == None: # wait() timed out without internet; Restart polling. - self.poll = GLib.Thread.new("poll", self.poll_for_magic_token) + self.poll = threading.Thread(target=self.poll_for_magic_token, daemon=True) + self.poll.start() def finish(self): self.dialog.response(Gtk.ResponseType.OK)