From: Niels Thykier Date: Wed, 17 Jun 2015 21:00:57 +0000 (+0200) Subject: auto-decruft: Remember to commit database changes X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1339ed64e64f6ef3fd2ea93a8165ab56d55fc856;p=dak.git auto-decruft: Remember to commit database changes Signed-off-by: Niels Thykier --- 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__':