From 4c38e7b90e710d2bb029d54ffdc60b0574c92abd Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 14:53:01 +0000 Subject: [PATCH] This is SQL, not Python. Signed-off-by: Chris Lamb --- dak/dakdb/update15.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/dakdb/update15.py b/dak/dakdb/update15.py index 6c000830..dd0f9433 100644 --- a/dak/dakdb/update15.py +++ b/dak/dakdb/update15.py @@ -61,7 +61,7 @@ def do_update(self): print "Authorize format 1.0 on all suites by default" c.execute("SELECT id FROM suite") suites = c.fetchall() - c.execute("SELECT id FROM src_format WHERE format_name == '1.0'") + c.execute("SELECT id FROM src_format WHERE format_name = '1.0'") formats = c.fetchall() for s in suites: c.execute("INSERT INTO suite_src_formats (suite, src_format) VALUES(%s, %s)", (s[0], f[0])) -- 2.39.5