[dak/master] *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 <joerg@debian.org>
---
dak/process_unchecked.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py
index aa38a00..938f839 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'],
--
1.5.6.5
Reply to: