From: Mark Hymers Date: Sat, 14 Mar 2009 16:25:05 +0000 (+0000) Subject: needs to be a tuple X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d9bac888b9b19904380d194d3cd91e8c8bfe62;p=dak needs to be a tuple Signed-off-by: Mark Hymers --- 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