]> git.decadent.org.uk Git - dak.git/commitdiff
*sigh*
authorJoerg Jaspert <joerg@debian.org>
Sat, 14 Mar 2009 09:15:09 +0000 (10:15 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 14 Mar 2009 09:15:09 +0000 (10:15 +0100)
remove the '' and "suddenly" this new db interface does the right thing.
With it it doesnt even manage to give correct error messages.

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

index aa38a0032c5de584e63ff9a56b22236ca295b35e..938f839cca77faf441033b56d4ebeedf10c6add9 100755 (executable)
@@ -1320,7 +1320,7 @@ def is_stableupdate ():
         cursor.execute( """SELECT 1 FROM source s
                            JOIN src_associations sa ON (s.id = sa.source)
                            WHERE s.source = %(source)s
-                              AND s.version = '%(version)s'
+                              AND s.version = %(version)s
                               AND sa.suite = %(suite)d""",
                         {'source' : changes['source'],
                          'version' : changes['version'],