]> git.decadent.org.uk Git - dak.git/commitdiff
needs to be a tuple
authorMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 16:25:05 +0000 (16:25 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 16:25:05 +0000 (16:25 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/database.py

index 2f86365fdab6a1cf443d64edae1e3f46dbcadbf1..93d9ad5392fcc706a15b38be4a62615b4bf8f319 100755 (executable)
@@ -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