From: Mark Hymers Date: Sat, 14 Mar 2009 15:49:26 +0000 (+0000) Subject: remove extra quote X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfd9ceea8b12d7fecec317c86b4570336cc7aeb8;p=dak remove extra quote Signed-off-by: Mark Hymers --- diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 593f9d00..08b841ff 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -1352,14 +1352,14 @@ def is_oldstableupdate (): if not changes["architecture"].has_key("source"): pusuite = DBConn().get_suite_id("oldstable-proposed-updates") cursor = DBConn().cursor() - 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 sa.suite = %(suite)s""", - {'source' : changes['source'], + 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 sa.suite = %(suite)s""", + {'source' : changes['source'], 'version' : changes['version'], - 'suite' : pusuite}) + 'suite' : pusuite}) if cursor.fetchone(): return 0