From f03029122030891297d483fde20a3299356e3af1 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 14 Mar 2009 15:45:18 +0000 Subject: [PATCH] fix up SQL call (hackish) Signed-off-by: Mark Hymers --- daklib/dbconn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 2b13123e..9801fdfd 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -552,9 +552,9 @@ class DBConn(Singleton): c.execute("""DELETE FROM pending_content_associations WHERE package=%(Package)s AND version=%(Version)s - AND arch_id=%(ArchID)s""", {'Package': package['Package'], - 'Version': package['Version'], - 'ArchID': arch_id}) + AND architecture=%(ArchID)s""", {'Package': package['Package'], + 'Version': package['Version'], + 'ArchID': arch_id}) for fullpath in fullpaths: (path, file) = os.path.split(fullpath) -- 2.39.5