From: Joerg Jaspert Date: Fri, 30 Oct 2009 09:25:15 +0000 (+0100) Subject: Its (not) probably all stews fault X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93ac1a954fd6bda0ff9deca37f6c8b0db3944255;p=dak Its (not) probably all stews fault Signed-off-by: Joerg Jaspert --- diff --git a/dak/dakdb/update17.py b/dak/dakdb/update17.py index c4e0f245..d75bdb5b 100755 --- a/dak/dakdb/update17.py +++ b/dak/dakdb/update17.py @@ -53,7 +53,7 @@ def do_update(self): c.execute("""CREATE INDEX ind_bin_contents_binary ON bin_contents(binary_id);""" ) c.execute("UPDATE config SET value = '17' WHERE name = 'db_revision'") - self.db.commit() + self.db.commit() except psycopg2.ProgrammingError, msg: self.db.rollback()