]> git.decadent.org.uk Git - dak.git/commitdiff
update7
authorJoerg Jaspert <joerg@debian.org>
Fri, 13 Mar 2009 21:42:22 +0000 (22:42 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 13 Mar 2009 21:42:22 +0000 (22:42 +0100)
use correct sql

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/dakdb/update7.py

index 96a3614612939808a68ae5f60579364dbe3221fa..1c59707857a5d929472e2a170151ce492ac11684 100755 (executable)
@@ -56,7 +56,7 @@ def do_update(self):
             c.execute(query, [suite])
 
 
-        c.execute("ALTER TABLE suite ADD COLUMN announce text DEFAULT NOT NULL 'debian-devel-changes@lists.debian.org';")
+        c.execute("ALTER TABLE suite ADD COLUMN announce text NOT NULL DEFAULT 'debian-devel-changes@lists.debian.org';")
         query = "UPDATE suite SET announce = %s WHERE suite_name = %s"  #: Update query
         for suite in Cnf.SubTree("Suite").List():
             announce_list = Cnf.Find("Suite::%s::Announce" % (suite))