From 3460e65074dd91a06ff3f661aac5949c35a59b92 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Wed, 4 Jan 2017 19:58:17 +0100 Subject: [PATCH] Also sync priority for source packages While not really relevant, this change stops `check-override` from trying to sync the source package's override with every run (as the priority continued to differ). --- dak/check_overrides.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dak/check_overrides.py b/dak/check_overrides.py index 31833198..1683aa66 100755 --- a/dak/check_overrides.py +++ b/dak/check_overrides.py @@ -208,11 +208,13 @@ SELECT s.source FROM source s otype, package, "source", sections[i[5]], i[6], "source", sections[i[2]], i[3]]) if not Options["No-Action"]: session.execute("""UPDATE override - SET section = :section, + SET priority = :priority, + section = :section, maintainer = :maintainer WHERE package = :package AND suite = :suite_id AND component = :component_id AND type = :type_id""", - {'section': i[2], 'maintainer': i[3], + {'priority': i[1], + 'section': i[2], 'maintainer': i[3], 'package': package, 'suite_id': osuite_id, 'component_id': component_id, 'type_id': dsc_type_id}) continue -- GitLab