"""
Database Update Script - Get suite_architectures table use sane values
@contact: Debian FTP Master <ftpmaster@debian.org>
@copyright: 2009 Joerg Jaspert <joerg@debian.org>
@license: GNU General Public License version 2 or later
"""
Database Update Script - Get suite_architectures table use sane values
@contact: Debian FTP Master <ftpmaster@debian.org>
@copyright: 2009 Joerg Jaspert <joerg@debian.org>
@license: GNU General Public License version 2 or later
################################################################################
suites = {} #: Cache of existing suites
archs = {} #: Cache of existing architectures
################################################################################
suites = {} #: Cache of existing suites
archs = {} #: Cache of existing architectures
- c.execute(query, suites[suite], archs[arch])
+ c.execute(query, [suites[suite], archs[arch]])
+
+ c.execute("UPDATE config SET value = '4' WHERE name = 'db_revision'")