]> git.decadent.org.uk Git - dak.git/commitdiff
fix up oldstable suite check
authorMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 15:48:05 +0000 (15:48 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 15:48:05 +0000 (15:48 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_unchecked.py

index 5bd8bf2c1359bfe96a1d775aac2f7f130fb8ec0f..593f9d0002a658b8eccfed77e465740d98b6f933 100755 (executable)
@@ -1356,7 +1356,7 @@ def is_oldstableupdate ():
                             JOIN src_associations sa ON (s.id = sa.source)
                             WHERE s.source = %(source)s
                               AND s.version = %(version)s
-                               AND sa.suite = %d""",
+                               AND sa.suite = %(suite)s""",
                         {'source' : changes['source'],
                          'version' : changes['version'],
                          'suite' : pusuite})