From: James Troup Date: Tue, 13 Feb 2007 12:53:14 +0000 (+0000) Subject: [ajt] fix invocation of database.get_suite_id() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493989aa71acc36dd9b141d1949cdb4d63b04261;p=dak [ajt] fix invocation of database.get_suite_id() --- diff --git a/ChangeLog b/ChangeLog index fde0a701..a9799e3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * dak/process_accepted.py (stable_install): fix name of template mail. + * dak/process_unchecked.py (is_stableupdate): fix invocation of + database.get_suite_id(). + 2007-02-08 Ryan Murray * config/debian/cron.daily: track when we have the accepted lock diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 66d3feff..aac33d23 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -1244,7 +1244,7 @@ def is_stableupdate (): return 0 if not changes["architecture"].has_key("source"): - pusuite = database.get_suite_id("proposed-updates") + pusuite = daklib.database.get_suite_id("proposed-updates") q = Upload.projectB.query( "SELECT S.source FROM source s JOIN src_associations sa ON (s.id = sa.source) WHERE s.source = '%s' AND s.version = '%s' AND sa.suite = %d" % (changes["source"], changes["version"], pusuite))