Skip to content

iop: set-feed-rev: Various tempfiles and error handling fixes

Andreas Gnau requested to merge agnau-set-feed-rev-fixes into devel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit 1a311d38575d4c11ab29ea480de3a0f9c6c0591a ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Fri Feb 23 08:21:29 2024 +0100

    iop: set-feed-rev: Do not hide exceptions

    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit 0c1d29de6f0fd1e03cf3ed02f5cb9f48f9d01436 ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Fri Feb 23 08:20:16 2024 +0100

    iop: set-feed-rev: Fix tempfile cleanup error

    Fix logic error, where the NamedTemporaryFile would try to clean up
    after itself and find it has already been deleted. Change also name of
    the temporary files.

    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit a4e40323def385dc2242b4683cb03247c1b34db7 ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Thu Feb 22 19:36:57 2024 +0100

    iop: set-feed-rev: Do not use delete_on_close

    It is only available in more recent Python versions and caused more
    problems that it solves. Instead, flush the file and close it at the
    end.

    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Edited by Andreas Gnau

Merge request reports