From: Joerg Jaspert Date: Thu, 19 Feb 2009 22:30:38 +0000 (+0100) Subject: Damn python and its complains on missing ) X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1b3036f139b6062dcbc05958382fc43675b888f6;p=dak.git Damn python and its complains on missing ) Signed-off-by: Joerg Jaspert --- diff --git a/dak/dakdb/update5.py b/dak/dakdb/update5.py index f5357e89..1d820de4 100755 --- a/dak/dakdb/update5.py +++ b/dak/dakdb/update5.py @@ -42,8 +42,7 @@ def do_update(self): SELECT ba.suite, ba.bin, a.id AS arch FROM bin_associations ba JOIN binaries b ON ba.bin = b.id, architecture a - WHERE a.id > 2 AND (b.architecture = 2 OR b.architecture = a.id) - """ + WHERE a.id > 2 AND (b.architecture = 2 OR b.architecture = a.id) """) c.execute("UPDATE config SET value = '5' WHERE name = 'db_revision'") self.db.commit()