]> err.no Git - dak/commitdiff
[ajt] fix invocation of database.get_suite_id()
authorJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 12:53:14 +0000 (12:53 +0000)
committerJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 12:53:14 +0000 (12:53 +0000)
ChangeLog
dak/process_unchecked.py

index fde0a7013bafeb6b9c02fa8cfa3ef57611d83b80..a9799e3ca964640cedaff7df5aa6eb8887880a66 100644 (file)
--- 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  <rmurray@debian.org>
 
        * config/debian/cron.daily: track when we have the accepted lock
index 66d3feff52856c11e2a2a7fbb116e9dc6b166ad4..aac33d234662ac6831bc89219169740490467d67 100755 (executable)
@@ -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))