From: Joerg Jaspert <joerg@debian.org>
Date: Mon, 6 Dec 2010 22:30:46 +0000 (+0100)
Subject: add the special queues
X-Git-Tag: debian-r/squeeze~455^2^2~42
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=60281bcac68ebc54db5e22e72caebe76fd8b5722;p=dak.git

add the special queues

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---

diff --git a/dak/dakdb/update22.py b/dak/dakdb/update22.py
index b6fbbb44..dbd7ced6 100755
--- a/dak/dakdb/update22.py
+++ b/dak/dakdb/update22.py
@@ -69,7 +69,7 @@ def do_update(self):
 
         for q in c.fetchall():
             queues[q[0]] = q[1]
-            if q[1] in ['accepted', 'buildd']:
+            if q[1] in ['accepted', 'buildd', 'embargoed', 'unembargoed']:
                 # Move to build_queue_table
                 c.execute("""INSERT INTO build_queue (queue_name, path, copy_files)
                                    VALUES ('%s', '%s', '%s')""" % (q[1], q[2], q[3]))