]> err.no Git - dak/commitdiff
Fix references to get_or_set_queue in new_security_installs
authorChris Lamb <lamby@debian.org>
Sun, 1 Nov 2009 10:22:54 +0000 (10:22 +0000)
committerChris Lamb <lamby@debian.org>
Sun, 1 Nov 2009 10:23:46 +0000 (10:23 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/new_security_install.py

index 55a487499bce737630740778a2bf0afcc2de1380..f8706ed9b98e70ef5eacf5ddd0d7d14954c6eb94 100755 (executable)
@@ -25,7 +25,7 @@ import apt_pkg, os, sys, pwd, time, commands
 from daklib import queue
 from daklib import daklog
 from daklib import utils
-from daklib.dbconn import DBConn, get_or_set_queue, get_suite_architectures
+from daklib.dbconn import DBConn, get_build_queue, get_suite_architectures
 from daklib.regexes import re_taint_free
 
 Cnf = None
@@ -495,8 +495,8 @@ def _do_Disembargo():
     session = DBConn().session()
 
     dest = Cnf["Dir::Queue::Unembargoed"]
-    emb_q = get_or_set_queue("embargoed", session)
-    une_q = get_or_set_queue("unembargoed", session)
+    emb_q = get_build_queue("embargoed", session)
+    une_q = get_build_queue("unembargoed", session)
 
     for c in changes:
         print "Disembargoing %s" % (c)