From 65d9bac888b9b19904380d194d3cd91e8c8bfe62 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 14 Mar 2009 16:25:05 +0000 Subject: [PATCH] needs to be a tuple Signed-off-by: Mark Hymers --- daklib/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/database.py b/daklib/database.py index 2f86365f..93d9ad53 100755 --- a/daklib/database.py +++ b/daklib/database.py @@ -854,7 +854,7 @@ def copy_temporary_contents(package, version, arch, deb, reject): WHERE package='%s' AND version='%s' AND architecture=%d LIMIT 1""" - % package, version, arch_id ).getresult() + % (package, version, arch_id) ).getresult() if not exists: # This should NOT happen. We should have added contents -- 2.39.5