summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e5f9272)
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>
cursor.execute( """SELECT 1 FROM source s
JOIN src_associations sa ON (s.id = sa.source)
WHERE s.source = %(source)s
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'],
AND sa.suite = %(suite)d""",
{'source' : changes['source'],
'version' : changes['version'],