From 1339ed64e64f6ef3fd2ea93a8165ab56d55fc856 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 17 Jun 2015 23:00:57 +0200 Subject: [PATCH] auto-decruft: Remember to commit database changes Signed-off-by: Niels Thykier --- dak/auto_decruft.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dak/auto_decruft.py b/dak/auto_decruft.py index 1586fe10..e08e793b 100644 --- a/dak/auto_decruft.py +++ b/dak/auto_decruft.py @@ -454,6 +454,9 @@ def main (): osuite = get_suite(Options["OtherSuite"].lower(), session).suite_name decruft_newer_version_in(osuite, suite_name, suite_id, Options["OtherSuiteRMMsg"], session, dryrun) + if not dryrun: + session.commit() + ################################################################################ if __name__ == '__main__': -- 2.39.5