From: Mark Hymers Date: Sat, 14 Mar 2009 15:45:18 +0000 (+0000) Subject: fix up SQL call (hackish) X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f03029122030891297d483fde20a3299356e3af1;p=dak.git fix up SQL call (hackish) Signed-off-by: Mark Hymers --- 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)