From: Joerg Jaspert Date: Sat, 14 Mar 2009 09:15:09 +0000 (+0100) Subject: *sigh* X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201659087bcd237fb4dd169003a54e4d5a2e3aff;p=dak *sigh* 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 --- diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index aa38a003..938f839c 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -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'],