Version in base suite: 4.2.1+dfsg1-3+deb11u1 Base version: spyder_4.2.1+dfsg1-3+deb11u1 Target version: spyder_4.2.1+dfsg1-3+deb11u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/s/spyder/spyder_4.2.1+dfsg1-3+deb11u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/s/spyder/spyder_4.2.1+dfsg1-3+deb11u2.dsc changelog | 7 +++++++ patches/Prevent-double-saving-when-running-a-file.patch | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff -Nru spyder-4.2.1+dfsg1/debian/changelog spyder-4.2.1+dfsg1/debian/changelog --- spyder-4.2.1+dfsg1/debian/changelog 2023-01-09 19:58:36.000000000 +0000 +++ spyder-4.2.1+dfsg1/debian/changelog 2023-05-15 20:56:49.000000000 +0000 @@ -1,3 +1,10 @@ +spyder (4.2.1+dfsg1-3+deb11u2) bullseye; urgency=medium + + * Fix broken patch in previous update, with thanks to Baptiste Pellegrin + (closes: #1036128) + + -- Julian Gilbey Mon, 15 May 2023 21:56:49 +0100 + spyder (4.2.1+dfsg1-3+deb11u1) bullseye; urgency=medium * Fix duplicate-code-on-save bug (closes: #989660) diff -Nru spyder-4.2.1+dfsg1/debian/patches/Prevent-double-saving-when-running-a-file.patch spyder-4.2.1+dfsg1/debian/patches/Prevent-double-saving-when-running-a-file.patch --- spyder-4.2.1+dfsg1/debian/patches/Prevent-double-saving-when-running-a-file.patch 2023-01-09 19:58:36.000000000 +0000 +++ spyder-4.2.1+dfsg1/debian/patches/Prevent-double-saving-when-running-a-file.patch 2023-05-15 20:56:49.000000000 +0000 @@ -158,7 +158,7 @@ if self.get_option('save_all_before_run'): - self.save_all(save_new_files=save_new_files) + all_saved = self.save_all(save_new_files=save_new_files) -+ if not all_saved: ++ if all_saved is not None and not all_saved: + return if self.__last_ec_exec is None: return